Class Travis
java.lang.Object
org.eluder.coveralls.maven.plugin.service.AbstractServiceSetup
org.eluder.coveralls.maven.plugin.service.Travis
- All Implemented Interfaces:
ServiceSetup
Service implementation for Travis CI.
https://travis-ci.org/
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eluder.coveralls.maven.plugin.service.AbstractServiceSetup
addProperty, getBuildNumber, getBuildUrl, getProperty
-
Field Details
-
TRAVIS_NAME
- See Also:
-
TRAVIS
- See Also:
-
TRAVIS_JOB_ID
- See Also:
-
TRAVIS_BRANCH
- See Also:
-
TRAVIS_PULL_REQUEST
- See Also:
-
-
Constructor Details
-
Travis
-
-
Method Details
-
isSelected
public boolean isSelected()Description copied from interface:ServiceSetupChecks if is selected.- Returns:
trueif this service is selected, otherwisefalse
-
getName
Description copied from interface:ServiceSetupGets the name.- Returns:
- service name
-
getJobId
Description copied from interface:ServiceSetupGets the job id.- Specified by:
getJobIdin interfaceServiceSetup- Overrides:
getJobIdin classAbstractServiceSetup- Returns:
- service job id, or
nullif not defined
-
getBranch
Description copied from interface:ServiceSetupGets the branch.- Specified by:
getBranchin interfaceServiceSetup- Overrides:
getBranchin classAbstractServiceSetup- Returns:
- git branch name, or
nullif not defined
-
getPullRequest
Description copied from interface:ServiceSetupGets the pull request.- Specified by:
getPullRequestin interfaceServiceSetup- Overrides:
getPullRequestin classAbstractServiceSetup- Returns:
- pull request identifier, or
nullif not defined
-
getEnvironment
Description copied from interface:ServiceSetupGets the environment.- Specified by:
getEnvironmentin interfaceServiceSetup- Overrides:
getEnvironmentin classAbstractServiceSetup- Returns:
- environment related to service, or
nullif not defined
-