Klasse ScmResolver
java.lang.Object
io.jenkins.plugins.forensics.util.ScmResolver
Resolves the used SCM in a given build.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the SCM in a given build.Collection
<? extends SCM> Returns the SCMs in a given build.Collection
<? extends SCM> Returns the SCMs in a given build, filtered by the name.
-
Konstruktordetails
-
ScmResolver
public ScmResolver()
-
-
Methodendetails
-
getScm
Returns the SCM in a given build. If no SCM can be determined, then aNullSCM
instance will be returned.- Parameter:
run
- the build to get the SCM from- Gibt zurück:
- the SCM
-
getScms
Returns the SCMs in a given build, filtered by the name.- Parameter:
run
- the build to get the SCMs fromkeyFilter
- substring that must be part of the SCM key- Gibt zurück:
- the SCMs
-
getScms
Returns the SCMs in a given build.- Parameter:
run
- the build to get the SCMs from- Gibt zurück:
- the SCMs
-