Class AllBranchBuildStrategyImpl
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.branch.BranchBuildStrategy>
jenkins.branch.BranchBuildStrategy
jenkins.branch.buildstrategies.basic.AllBranchBuildStrategyImpl
- All Implemented Interfaces:
ExtensionPoint,Describable<jenkins.branch.BranchBuildStrategy>
public class AllBranchBuildStrategyImpl
extends jenkins.branch.BranchBuildStrategy
A
BranchBuildStrategy that builds branches based on the results of all sub strategies matching.- Since:
- 1.0.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classOur descriptor.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionAllBranchBuildStrategyImpl(List<jenkins.branch.BranchBuildStrategy> strategies) Our constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanList<jenkins.branch.BranchBuildStrategy>inthashCode()booleanisAutomaticBuild(jenkins.scm.api.SCMSource source, jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision currRevision, jenkins.scm.api.SCMRevision prevRevision) Deprecated.booleanisAutomaticBuild(jenkins.scm.api.SCMSource source, jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision currRevision, jenkins.scm.api.SCMRevision prevRevision, TaskListener taskListener) Deprecated.booleanisAutomaticBuild(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) toString()Methods inherited from class jenkins.branch.BranchBuildStrategy
automaticBuild, automaticBuild, automaticBuild, getDescriptor, isAutomaticBuild, isAutomaticBuild
-
Constructor Details
-
AllBranchBuildStrategyImpl
@DataBoundConstructor public AllBranchBuildStrategyImpl(List<jenkins.branch.BranchBuildStrategy> strategies) Our constructor.- Parameters:
strategies- the strategies to apply.
-
-
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:
isAutomaticBuildin classjenkins.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:
isAutomaticBuildin classjenkins.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:
isAutomaticBuildin classjenkins.branch.BranchBuildStrategy
-
getStrategies
-
equals
-
hashCode
public int hashCode() -
toString
-