Class ChangeLogStrategy
- java.lang.Object
-
- org.jenkinsci.plugins.pipeline.modeldefinition.when.ChangeLogStrategy
-
- All Implemented Interfaces:
ExtensionPoint
public class ChangeLogStrategy extends Object implements ExtensionPoint
Extension point for what strategy to use when examining the changelog. In particular if a givenSCMHead
is a change request that suggest all builds should be examined.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ChangeLogStrategy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isExamineAllBuilds(jenkins.scm.api.SCMHead head)
protected boolean
shouldExamineAllBuilds(jenkins.scm.api.SCMHead head)
-
-
-
Method Detail
-
shouldExamineAllBuilds
protected boolean shouldExamineAllBuilds(@NonNull jenkins.scm.api.SCMHead head)
- Parameters:
head
- the head in question- Returns:
true
if all builds changelogs should be examined.
-
isExamineAllBuilds
public static boolean isExamineAllBuilds(@NonNull jenkins.scm.api.SCMHead head)
-
-