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 ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangeSetMatches(ChangeLogSet.Entry change, String pattern, boolean caseSensitive) TheComparatorto use.getGlob()Deprecated.booleanprotected ObjectvoidsetCaseSensitive(boolean caseSensitive) voidsetComparator(String comparator) Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional
getChildren, getDescriptorMethods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable
getScript
-
Constructor Details
-
ChangeSetConditional
-
-
Method Details
-
getGlob
Deprecated. -
isCaseSensitive
public boolean isCaseSensitive() -
getPattern
-
getComparator
TheComparatorto 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
-