Class SetCustomBuildPropertyStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.custombuildproperties.SetCustomBuildPropertyStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public final class SetCustomBuildPropertyStep extends org.jenkinsci.plugins.workflow.steps.Step
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetCustomBuildPropertyStep.DescriptorImpl
static class
SetCustomBuildPropertyStep.Execution
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SetCustomBuildPropertyStep(String key, Object value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Object
getValue()
boolean
isOnlySetIfAbsent()
protected static void
runLogic(String key, Object value, boolean onlySetIfAbsent, Run<?,?> run)
void
setOnlySetIfAbsent(boolean onlySetIfAbsent)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Method Detail
-
runLogic
protected static void runLogic(String key, Object value, boolean onlySetIfAbsent, Run<?,?> run) throws Exception
- Throws:
Exception
-
getKey
public String getKey()
-
getValue
public Object getValue()
-
isOnlySetIfAbsent
public boolean isOnlySetIfAbsent()
-
setOnlySetIfAbsent
@DataBoundSetter public void setOnlySetIfAbsent(boolean onlySetIfAbsent)
-
-