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 ClassesModifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
getValue()
boolean
protected static void
void
setOnlySetIfAbsent
(boolean onlySetIfAbsent) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
SetCustomBuildPropertyStep
-
-
Method Details
-
runLogic
protected static void runLogic(String key, Object value, boolean onlySetIfAbsent, Run<?, ?> run) throws Exception- Throws:
Exception
-
getKey
-
getValue
-
isOnlySetIfAbsent
public boolean isOnlySetIfAbsent() -
setOnlySetIfAbsent
@DataBoundSetter public void setOnlySetIfAbsent(boolean onlySetIfAbsent) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-