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
-
Method Summary
Modifier and TypeMethodDescriptiongetAssignedLabel
(SubTask task) 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 Details
-
NodeAction
-
-
Method Details
-
getAssignedLabel
- Specified by:
getAssignedLabel
in interfaceLabelAssignmentAction
-
shouldSchedule
- Specified by:
shouldSchedule
in interfaceQueue.QueueAction
-
getTooltip
- Returns:
- the tooltip
-