Packages

class TravisService extends Serializable

Used to interact with the travis API

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TravisService
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TravisService(keyManager: KeyManager)

    keyManager

    KeyManager that contains keys for the travis API

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. 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

  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. implicit lazy val formats: Formats
  11. 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

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getHeaders: List[(String, String)]

    Gets the needed headers for travis API requests

  14. 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

  15. 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

  16. 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( ... )
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. 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

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped