Class Job

java.lang.Object
org.eluder.coveralls.maven.plugin.domain.Job

public class Job extends Object
The Class Job.
  • Constructor Details

    • Job

      public Job()
      Instantiates a new job.
  • Method Details

    • withRepoToken

      public Job withRepoToken(String repoToken)
      With repo token.
      Parameters:
      repoToken - the repo token
      Returns:
      the job
    • withServiceName

      public Job withServiceName(String serviceName)
      With service name.
      Parameters:
      serviceName - the service name
      Returns:
      the job
    • withServiceJobId

      public Job withServiceJobId(String serviceJobId)
      With service job id.
      Parameters:
      serviceJobId - the service job id
      Returns:
      the job
    • withServiceBuildNumber

      public Job withServiceBuildNumber(String serviceBuildNumber)
      With service build number.
      Parameters:
      serviceBuildNumber - the service build number
      Returns:
      the job
    • withServiceBuildUrl

      public Job withServiceBuildUrl(String serviceBuildUrl)
      With service build url.
      Parameters:
      serviceBuildUrl - the service build url
      Returns:
      the job
    • withParallel

      public Job withParallel(boolean parallel)
      With parallel.
      Parameters:
      parallel - the parallel
      Returns:
      the job
    • withServiceEnvironment

      public Job withServiceEnvironment(Properties serviceEnvironment)
      With service environment.
      Parameters:
      serviceEnvironment - the service environment
      Returns:
      the job
    • withTimestamp

      public Job withTimestamp(Long timestamp)
      With timestamp.
      Parameters:
      timestamp - the timestamp
      Returns:
      the job
    • withDryRun

      public Job withDryRun(boolean dryRun)
      With dry run.
      Parameters:
      dryRun - the dry run
      Returns:
      the job
    • withBranch

      public Job withBranch(String branch)
      With branch.
      Parameters:
      branch - the branch
      Returns:
      the job
    • withPullRequest

      public Job withPullRequest(String pullRequest)
      With pull request.
      Parameters:
      pullRequest - the pull request
      Returns:
      the job
    • withGit

      public Job withGit(Git git)
      With git.
      Parameters:
      git - the git
      Returns:
      the job
    • getRepoToken

      public String getRepoToken()
      Gets the repo token.
      Returns:
      the repo token
    • getServiceName

      public String getServiceName()
      Gets the service name.
      Returns:
      the service name
    • getServiceJobId

      public String getServiceJobId()
      Gets the service job id.
      Returns:
      the service job id
    • getServiceBuildNumber

      public String getServiceBuildNumber()
      Gets the service build number.
      Returns:
      the service build number
    • getServiceBuildUrl

      public String getServiceBuildUrl()
      Gets the service build url.
      Returns:
      the service build url
    • getServiceEnvironment

      public Properties getServiceEnvironment()
      Gets the service environment.
      Returns:
      the service environment
    • getTimestamp

      public Long getTimestamp()
      Gets the timestamp.
      Returns:
      the timestamp
    • isParallel

      public boolean isParallel()
      Checks if is parallel.
      Returns:
      true, if is parallel
    • isDryRun

      public boolean isDryRun()
      Checks if is dry run.
      Returns:
      true, if is dry run
    • getBranch

      public String getBranch()
      Gets the branch.
      Returns:
      the branch
    • getPullRequest

      public String getPullRequest()
      Gets the pull request.
      Returns:
      the pull request
    • getGit

      public Git getGit()
      Gets the git.
      Returns:
      the git
    • validate

      public ValidationErrors validate()
      Validate.
      Returns:
      the validation errors