Class Job
java.lang.Object
org.eluder.coveralls.maven.plugin.domain.Job
The Class Job.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the branch.getGit()Gets the git.Gets the pull request.Gets the repo token.Gets the service build number.Gets the service build url.Gets the service environment.Gets the service job id.Gets the service name.Gets the timestamp.booleanisDryRun()Checks if is dry run.booleanChecks if is parallel.validate()Validate.withBranch(String branch) With branch.withDryRun(boolean dryRun) With dry run.With git.withParallel(boolean parallel) With parallel.withPullRequest(String pullRequest) With pull request.withRepoToken(String repoToken) With repo token.withServiceBuildNumber(String serviceBuildNumber) With service build number.withServiceBuildUrl(String serviceBuildUrl) With service build url.withServiceEnvironment(Properties serviceEnvironment) With service environment.withServiceJobId(String serviceJobId) With service job id.withServiceName(String serviceName) With service name.withTimestamp(Long timestamp) With timestamp.
-
Constructor Details
-
Job
public Job()Instantiates a new job.
-
-
Method Details
-
withRepoToken
-
withServiceName
-
withServiceJobId
-
withServiceBuildNumber
-
withServiceBuildUrl
-
withParallel
With parallel.- Parameters:
parallel- the parallel- Returns:
- the job
-
withServiceEnvironment
With service environment.- Parameters:
serviceEnvironment- the service environment- Returns:
- the job
-
withTimestamp
-
withDryRun
With dry run.- Parameters:
dryRun- the dry run- Returns:
- the job
-
withBranch
-
withPullRequest
-
withGit
-
getRepoToken
-
getServiceName
-
getServiceJobId
-
getServiceBuildNumber
Gets the service build number.- Returns:
- the service build number
-
getServiceBuildUrl
-
getServiceEnvironment
Gets the service environment.- Returns:
- the service environment
-
getTimestamp
-
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
-
getPullRequest
-
getGit
-
validate
-