class TravisService extends Serializable
Used to interact with the travis API
- Alphabetic
- By Inheritance
- TravisService
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TravisService(keyManager: KeyManager)
- keyManager
KeyManager that contains keys for the travis API
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extract[A](json: JValue)(implicit arg0: Manifest[A]): A
Extracts a case class from a Jvalue and throws an exception if it fails
Extracts a case class from a Jvalue and throws an exception if it fails
- A
Case class
- json
JSon from which a case class should be extracted
- returns
Extracted JSon in case class
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- implicit lazy val formats: Formats
-
def
getBuild(buildID: Int): TravisBuild
Requests a build from Travis with a specific id
Requests a build from Travis with a specific id
- buildID
Id of the build
- returns
Travis build
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getHeaders: List[(String, String)]
Gets the needed headers for travis API requests
-
def
getTravisBuilds(owner: String, repoName: String, branch: String = "", offset: Int = 0, limit: Int = 25): TravisBuilds
Gives a specific page with build information of a give repository on a given branch.
Gives a specific page with build information of a give repository on a given branch.
- owner
Name of the owner of the repository
- repoName
Name of the repository
- branch
Name of the branch
- offset
How many builds to skip
- limit
How many builds to get
- returns
Page with Travis builds
-
def
getTravisBuildsWithSlug(slug: String, branch: String = "", offset: Int = 0, limit: Int = 25): TravisBuilds
Gives a specific page with build information of a give repository on a given branch.
Gives a specific page with build information of a give repository on a given branch.
- slug
Slug of the repository
- branch
Name of the branch
- offset
How many builds to skip
- limit
How many builds to get
- returns
Page with Travis builds
-
def
getTravisResource(endpoint: String): String
Gets the response body from a specified endpoint in the travis API
Gets the response body from a specified endpoint in the travis API
- endpoint
Endpoint
- returns
Body of the Http response
- Annotations
- @throws( ... )
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
repoIsActiveFilter: (String) ⇒ Boolean
Returns a function that checks if a given repo is active on Travis.
Returns a function that checks if a given repo is active on Travis.
- returns
True if it is active, false otherwise
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )