Class AbstractServiceSetup
java.lang.Object
org.eluder.coveralls.maven.plugin.service.AbstractServiceSetup
- All Implemented Interfaces:
ServiceSetup
Convenient base class for service setups.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddProperty(Properties properties, String name, String value) Gets the branch.Gets the builds the number.Gets the builds the url.Gets the environment.getJobId()Gets the job id.protected final StringgetProperty(String name) Gets the pull request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eluder.coveralls.maven.plugin.service.ServiceSetup
getName, isSelected
-
Constructor Details
-
AbstractServiceSetup
-
-
Method Details
-
getJobId
Description copied from interface:ServiceSetupGets the job id.- Specified by:
getJobIdin interfaceServiceSetup- Returns:
- service job id, or
nullif not defined
-
getBuildNumber
Description copied from interface:ServiceSetupGets the builds the number.- Specified by:
getBuildNumberin interfaceServiceSetup- Returns:
- service build number, or
nullif not defined
-
getBuildUrl
Description copied from interface:ServiceSetupGets the builds the url.- Specified by:
getBuildUrlin interfaceServiceSetup- Returns:
- service build url, or
nullif not defined
-
getBranch
Description copied from interface:ServiceSetupGets the branch.- Specified by:
getBranchin interfaceServiceSetup- Returns:
- git branch name, or
nullif not defined
-
getPullRequest
Description copied from interface:ServiceSetupGets the pull request.- Specified by:
getPullRequestin interfaceServiceSetup- Returns:
- pull request identifier, or
nullif not defined
-
getEnvironment
Description copied from interface:ServiceSetupGets the environment.- Specified by:
getEnvironmentin interfaceServiceSetup- Returns:
- environment related to service, or
nullif not defined
-
getProperty
-
addProperty
-