public class GroovyLabelAssignmentAction extends Object implements hudson.model.labels.LabelAssignmentAction
Constructor and Description |
---|
GroovyLabelAssignmentAction(hudson.model.Label label)
Deprecated.
|
GroovyLabelAssignmentAction(String labelString)
Constructor
|
Modifier and Type | Method and Description |
---|---|
hudson.model.Label |
getAssignedLabel()
Returns the label which specifies nodes where this job should run.
|
hudson.model.Label |
getAssignedLabel(hudson.model.queue.SubTask task)
Returns the label which specifies nodes where this job should run.
|
String |
getDisplayName()
Returns the display name.
|
String |
getIconFileName() |
String |
getLabelString() |
String |
getUrlName() |
public GroovyLabelAssignmentAction(String labelString)
labelString
- assigned label expression.@Deprecated public GroovyLabelAssignmentAction(hudson.model.Label label)
GroovyLabelAssignmentAction(String)
label
- public String getIconFileName()
getIconFileName
in interface hudson.model.Action
Action.getIconFileName()
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
Action.getDisplayName()
public String getUrlName()
getUrlName
in interface hudson.model.Action
Action.getUrlName()
public hudson.model.Label getAssignedLabel(hudson.model.queue.SubTask task)
getAssignedLabel
in interface hudson.model.labels.LabelAssignmentAction
LabelAssignmentAction.getAssignedLabel(hudson.model.queue.SubTask)
public hudson.model.Label getAssignedLabel()
public String getLabelString()
Copyright © 2004-2016. All Rights Reserved.