Class General
java.lang.Object
org.eluder.coveralls.maven.plugin.service.AbstractServiceSetup
org.eluder.coveralls.maven.plugin.service.General
- All Implemented Interfaces:
ServiceSetup
General implementation for any continuous integration service that provides the required
environment properties.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the branch.Gets the builds the number.Gets the builds the url.getName()Gets the name.Gets the pull request.booleanChecks if is selected.Methods inherited from class org.eluder.coveralls.maven.plugin.service.AbstractServiceSetup
addProperty, getEnvironment, getJobId, getProperty
-
Field Details
-
CI_NAME
- See Also:
-
CI_BUILD_NUMBER
- See Also:
-
CI_BUILD_URL
- See Also:
-
CI_BRANCH
- See Also:
-
CI_PULL_REQUEST
- See Also:
-
-
Constructor Details
-
General
-
-
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
-
getBuildNumber
Description copied from interface:ServiceSetupGets the builds the number.- Specified by:
getBuildNumberin interfaceServiceSetup- Overrides:
getBuildNumberin classAbstractServiceSetup- Returns:
- service build number, or
nullif not defined
-
getBuildUrl
Description copied from interface:ServiceSetupGets the builds the url.- Specified by:
getBuildUrlin interfaceServiceSetup- Overrides:
getBuildUrlin classAbstractServiceSetup- Returns:
- service build url, 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
-