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.boolean
Checks 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:ServiceSetup
Checks if is selected.- Returns:
true
if this service is selected, otherwisefalse
-
getName
Description copied from interface:ServiceSetup
Gets the name.- Returns:
- service name
-
getBuildNumber
Description copied from interface:ServiceSetup
Gets the builds the number.- Specified by:
getBuildNumber
in interfaceServiceSetup
- Overrides:
getBuildNumber
in classAbstractServiceSetup
- Returns:
- service build number, or
null
if not defined
-
getBuildUrl
Description copied from interface:ServiceSetup
Gets the builds the url.- Specified by:
getBuildUrl
in interfaceServiceSetup
- Overrides:
getBuildUrl
in classAbstractServiceSetup
- Returns:
- service build url, or
null
if not defined
-
getBranch
Description copied from interface:ServiceSetup
Gets the branch.- Specified by:
getBranch
in interfaceServiceSetup
- Overrides:
getBranch
in classAbstractServiceSetup
- Returns:
- git branch name, or
null
if not defined
-
getPullRequest
Description copied from interface:ServiceSetup
Gets the pull request.- Specified by:
getPullRequest
in interfaceServiceSetup
- Overrides:
getPullRequest
in classAbstractServiceSetup
- Returns:
- pull request identifier, or
null
if not defined
-