Class ChangeLogStrategy
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.when.ChangeLogStrategy
- All Implemented Interfaces:
ExtensionPoint
Extension point for what strategy to use when examining the changelog.
In particular if a given
SCMHead
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isExamineAllBuilds
(jenkins.scm.api.SCMHead head) protected boolean
shouldExamineAllBuilds
(jenkins.scm.api.SCMHead head)
-
Constructor Details
-
ChangeLogStrategy
public ChangeLogStrategy()
-
-
Method Details
-
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)
-