Class WithSpanAttributeStep

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

    @Extension
    public class WithSpanAttributeStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    • Constructor Detail

      • WithSpanAttributeStep

        @DataBoundConstructor
        public WithSpanAttributeStep()
    • Method Detail

      • 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
      • getKey

        public String getKey()
      • setKey

        @DataBoundSetter
        public void setKey​(String key)
      • getValue

        public Object getValue()
      • setValue

        @DataBoundSetter
        public void setValue​(Object value)
      • getType

        @CheckForNull
        public String getType()
      • setType

        @DataBoundSetter
        public void setType​(String type)
        Parameters:
        type - case-insensitive representation of AttributeType
      • setTarget

        @DataBoundSetter
        public void setTarget​(String target)
        Parameters:
        target - case-insensitive representation of WithSpanAttributeStep.Target
      • getTarget

        @CheckForNull
        public String getTarget()