Class NodesByLabelStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.pipeline.utility.steps.jenkins.NodesByLabelStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class NodesByLabelStep extends org.jenkinsci.plugins.workflow.steps.Step
Obtains a list of node names by their label
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodesByLabelStep.DescriptorImpl
static class
NodesByLabelStep.Execution
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description NodesByLabelStep(String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
boolean
isOffline()
void
setOffline(boolean offline)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
NodesByLabelStep
@DataBoundConstructor public NodesByLabelStep(String label)
-
-
Method Detail
-
getLabel
public String getLabel()
-
isOffline
public boolean isOffline()
-
setOffline
@DataBoundSetter public void setOffline(boolean offline)
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-
-