Class EnvironmentConditional
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<S>
org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<EnvironmentConditional>
org.jenkinsci.plugins.pipeline.modeldefinition.when.impl.EnvironmentConditional
- All Implemented Interfaces:
ExtensionPoint
,Describable<EnvironmentConditional>
,Serializable
public class EnvironmentConditional
extends org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<EnvironmentConditional>
Stage condition based on environment variable equality.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
environmentMatches
(String v, String var) getName()
getValue()
boolean
void
setIgnoreCase
(boolean ignoreCase) 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
-
EnvironmentConditional
-
-
Method Details
-
getName
-
getValue
-
isIgnoreCase
public boolean isIgnoreCase() -
setIgnoreCase
@DataBoundSetter public void setIgnoreCase(boolean ignoreCase) -
environmentMatches
-