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 void
addProperty
(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 String
getProperty
(String name) Gets the pull request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eluder.coveralls.maven.plugin.service.ServiceSetup
getName, isSelected
-
Constructor Details
-
AbstractServiceSetup
-
-
Method Details
-
getJobId
Description copied from interface:ServiceSetup
Gets the job id.- Specified by:
getJobId
in interfaceServiceSetup
- Returns:
- service job id, or
null
if not defined
-
getBuildNumber
Description copied from interface:ServiceSetup
Gets the builds the number.- Specified by:
getBuildNumber
in interfaceServiceSetup
- 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
- Returns:
- service build url, or
null
if not defined
-
getBranch
Description copied from interface:ServiceSetup
Gets the branch.- Specified by:
getBranch
in interfaceServiceSetup
- Returns:
- git branch name, or
null
if not defined
-
getPullRequest
Description copied from interface:ServiceSetup
Gets the pull request.- Specified by:
getPullRequest
in interfaceServiceSetup
- Returns:
- pull request identifier, or
null
if not defined
-
getEnvironment
Description copied from interface:ServiceSetup
Gets the environment.- Specified by:
getEnvironment
in interfaceServiceSetup
- Returns:
- environment related to service, or
null
if not defined
-
getProperty
-
addProperty
-