Class SetCustomBuildPropertyStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public final class SetCustomBuildPropertyStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    • Constructor Detail

      • SetCustomBuildPropertyStep

        @DataBoundConstructor
        public SetCustomBuildPropertyStep​(String key,
                                          Object value)
    • Method Detail

      • getKey

        public String getKey()
      • getValue

        public Object 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 class org.jenkinsci.plugins.workflow.steps.Step
        Throws:
        Exception