Class ChangeSetConditional
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<S>
org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ChangeSetConditional>
org.jenkinsci.plugins.pipeline.modeldefinition.when.impl.ChangeSetConditional
- All Implemented Interfaces:
ExtensionPoint
,Describable<ChangeSetConditional>
,Serializable
public class ChangeSetConditional
extends org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ChangeSetConditional>
Conditional that checks the affected file paths recorded in the changelog.
The build must first have collected the changelog via for example
checkout scm
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
changeSetMatches
(ChangeLogSet.Entry change, String pattern, boolean caseSensitive) TheComparator
to use.getGlob()
Deprecated.boolean
protected Object
void
setCaseSensitive
(boolean caseSensitive) void
setComparator
(String comparator) Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional
getChildren, getDescriptor
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable
getScript
-
Constructor Details
-
ChangeSetConditional
-
-
Method Details
-
getGlob
Deprecated. -
isCaseSensitive
public boolean isCaseSensitive() -
getPattern
-
getComparator
TheComparator
to use. Default isComparator.GLOB
- Returns:
- the name of the comparator or null if default.
-
readResolve
- Throws:
IOException
-
setComparator
-
setCaseSensitive
@DataBoundSetter public void setCaseSensitive(boolean caseSensitive) -
changeSetMatches
-