Klasse ScmResolver

java.lang.Object
io.jenkins.plugins.forensics.util.ScmResolver

public class ScmResolver extends Object
Resolves the used SCM in a given build.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • ScmResolver

      public ScmResolver()
  • Methodendetails

    • getScm

      public SCM getScm(Run<?,?> run)
      Returns the SCM in a given build. If no SCM can be determined, then a NullSCM instance will be returned.
      Parameter:
      run - the build to get the SCM from
      Gibt zurück:
      the SCM
    • getScms

      public Collection<? extends SCM> getScms(Run<?,?> run, String keyFilter)
      Returns the SCMs in a given build, filtered by the name.
      Parameter:
      run - the build to get the SCMs from
      keyFilter - substring that must be part of the SCM key
      Gibt zurück:
      the SCMs
    • getScms

      public Collection<? extends SCM> getScms(Run<?,?> run)
      Returns the SCMs in a given build.
      Parameter:
      run - the build to get the SCMs from
      Gibt zurück:
      the SCMs