Class BranchBuildStrategyImpl

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.branch.BranchBuildStrategy>
jenkins.branch.BranchBuildStrategy
jenkins.branch.buildstrategies.basic.BranchBuildStrategyImpl
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.branch.BranchBuildStrategy>

public class BranchBuildStrategyImpl extends jenkins.branch.BranchBuildStrategy
A BranchBuildStrategy that builds things that are neither tags nor change requests.
Since:
1.0.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Our descriptor.

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Constructor Summary

    Constructors
    Constructor
    Description
    Our constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    int
    boolean
    isAutomaticBuild(jenkins.scm.api.SCMSource source, jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision currRevision, jenkins.scm.api.SCMRevision prevRevision)
    Deprecated.
    boolean
    isAutomaticBuild(jenkins.scm.api.SCMSource source, jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision currRevision, jenkins.scm.api.SCMRevision prevRevision, TaskListener taskListener)
    Deprecated.
    boolean
    isAutomaticBuild(jenkins.scm.api.SCMSource source, jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision currRevision, jenkins.scm.api.SCMRevision lastBuiltRevision, jenkins.scm.api.SCMRevision lastSeenRevision, TaskListener taskListener)

    Methods inherited from class jenkins.branch.BranchBuildStrategy

    automaticBuild, automaticBuild, automaticBuild, getDescriptor, isAutomaticBuild, isAutomaticBuild

    Methods inherited from class java.lang.Object

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

    • BranchBuildStrategyImpl

      @DataBoundConstructor public BranchBuildStrategyImpl()
      Our constructor.
  • Method Details

    • isAutomaticBuild

      @Deprecated public boolean isAutomaticBuild(@NonNull jenkins.scm.api.SCMSource source, @NonNull jenkins.scm.api.SCMHead head, @NonNull jenkins.scm.api.SCMRevision currRevision, @CheckForNull jenkins.scm.api.SCMRevision prevRevision)
      Deprecated.
      Overrides:
      isAutomaticBuild in class jenkins.branch.BranchBuildStrategy
    • isAutomaticBuild

      @Deprecated public boolean isAutomaticBuild(@NonNull jenkins.scm.api.SCMSource source, @NonNull jenkins.scm.api.SCMHead head, @NonNull jenkins.scm.api.SCMRevision currRevision, @CheckForNull jenkins.scm.api.SCMRevision prevRevision, @NonNull TaskListener taskListener)
      Deprecated.
      Overrides:
      isAutomaticBuild in class jenkins.branch.BranchBuildStrategy
    • isAutomaticBuild

      public boolean isAutomaticBuild(@NonNull jenkins.scm.api.SCMSource source, @NonNull jenkins.scm.api.SCMHead head, @NonNull jenkins.scm.api.SCMRevision currRevision, @CheckForNull jenkins.scm.api.SCMRevision lastBuiltRevision, @CheckForNull jenkins.scm.api.SCMRevision lastSeenRevision, @NonNull TaskListener taskListener)
      Specified by:
      isAutomaticBuild in class jenkins.branch.BranchBuildStrategy
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object