Class NodeAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- hudson.plugins.parameterizedtrigger.NodeAction
-
- All Implemented Interfaces:
Action
,BuildBadgeAction
,LabelAssignmentAction
,ModelObject
,Queue.QueueAction
public class NodeAction extends InvisibleAction implements LabelAssignmentAction, Queue.QueueAction, BuildBadgeAction
Action
that restricts the job to a particular node when a project is scheduled Will cause a unique build for each different node if a job is already queued.- Author:
- Chris Johnson
-
-
Constructor Summary
Constructors Constructor Description NodeAction(Label nodeLabel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Label
getAssignedLabel(SubTask task)
String
getTooltip()
boolean
shouldSchedule(List<Action> actions)
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Constructor Detail
-
NodeAction
public NodeAction(Label nodeLabel)
-
-
Method Detail
-
getAssignedLabel
public Label getAssignedLabel(SubTask task)
- Specified by:
getAssignedLabel
in interfaceLabelAssignmentAction
-
shouldSchedule
public boolean shouldSchedule(List<Action> actions)
- Specified by:
shouldSchedule
in interfaceQueue.QueueAction
-
getTooltip
public String getTooltip()
- Returns:
- the tooltip
-
-