Class ScmManagerSource

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSource
com.cloudogu.scmmanager.scm.ScmManagerSource
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.SCMSource>

public class ScmManagerSource extends jenkins.scm.api.SCMSource
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class jenkins.scm.api.SCMSource

    jenkins.scm.api.SCMSource.SourceByItem

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Field Summary

    Fields inherited from class jenkins.scm.api.SCMSource

    PRONOUN
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScmManagerSource(String serverUrl, String repository, String credentialsId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    build(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
     
    protected jenkins.scm.api.SCMProbe
    createProbe(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
     
     
     
     
     
    List<jenkins.scm.api.trait.SCMSourceTrait>
     
    protected boolean
    isCategoryEnabled(jenkins.scm.api.SCMHeadCategory category)
     
    protected void
    retrieve(jenkins.scm.api.SCMSourceCriteria criteria, jenkins.scm.api.SCMHeadObserver observer, jenkins.scm.api.SCMHeadEvent<?> event, TaskListener listener)
     
    protected List<Action>
    retrieveActions(jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMHeadEvent event, TaskListener listener)
     
    protected List<Action>
    retrieveActions(jenkins.scm.api.SCMRevision revision, jenkins.scm.api.SCMHeadEvent event, TaskListener listener)
     
    protected List<Action>
    retrieveActions(jenkins.scm.api.SCMSourceEvent event, TaskListener listener)
     
    void
    setTraits(List<jenkins.scm.api.trait.SCMSourceTrait> traits)
     

    Methods inherited from class jenkins.scm.api.SCMSource

    afterSave, build, canProbe, checkInterrupt, defaultListener, equals, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchActions, fetchActions, fetchActions, fetchRevisions, fetchRevisions, fromSCMFileSystem, getCategories, getCriteria, getDescriptor, getId, getOwner, getPronoun, getTrustedRevision, hashCode, hasId, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveRevisions, retrieveRevisions, setId, setOwner, toString, withId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ScmManagerSource

      @DataBoundConstructor public ScmManagerSource(String serverUrl, String repository, String credentialsId)
  • Method Details

    • getTraits

      @NonNull public List<jenkins.scm.api.trait.SCMSourceTrait> getTraits()
      Overrides:
      getTraits in class jenkins.scm.api.SCMSource
    • setTraits

      @DataBoundSetter public void setTraits(@CheckForNull List<jenkins.scm.api.trait.SCMSourceTrait> traits)
      Overrides:
      setTraits in class jenkins.scm.api.SCMSource
    • retrieve

      protected void retrieve(jenkins.scm.api.SCMSourceCriteria criteria, @NonNull jenkins.scm.api.SCMHeadObserver observer, jenkins.scm.api.SCMHeadEvent<?> event, @NonNull TaskListener listener) throws IOException, InterruptedException
      Specified by:
      retrieve in class jenkins.scm.api.SCMSource
      Throws:
      IOException
      InterruptedException
    • createProbe

      @NonNull protected jenkins.scm.api.SCMProbe createProbe(@NonNull jenkins.scm.api.SCMHead head, @CheckForNull jenkins.scm.api.SCMRevision revision)
      Overrides:
      createProbe in class jenkins.scm.api.SCMSource
    • build

      @NonNull public SCM build(@NonNull jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision revision)
      Specified by:
      build in class jenkins.scm.api.SCMSource
    • getServerUrl

      public String getServerUrl()
    • getRepository

      public String getRepository()
    • getCredentialsId

      public String getCredentialsId()
    • retrieveActions

      @NonNull protected List<Action> retrieveActions(@NonNull jenkins.scm.api.SCMRevision revision, jenkins.scm.api.SCMHeadEvent event, @NonNull TaskListener listener)
      Overrides:
      retrieveActions in class jenkins.scm.api.SCMSource
    • retrieveActions

      @NonNull protected List<Action> retrieveActions(@NonNull jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMHeadEvent event, @NonNull TaskListener listener)
      Overrides:
      retrieveActions in class jenkins.scm.api.SCMSource
    • retrieveActions

      @NonNull protected List<Action> retrieveActions(@CheckForNull jenkins.scm.api.SCMSourceEvent event, @NonNull TaskListener listener)
      Overrides:
      retrieveActions in class jenkins.scm.api.SCMSource
    • isCategoryEnabled

      protected boolean isCategoryEnabled(@NonNull jenkins.scm.api.SCMHeadCategory category)
      Overrides:
      isCategoryEnabled in class jenkins.scm.api.SCMSource
    • getRemoteUrl

      public String getRemoteUrl()