Class ChoiceWatchQueueDecisionHandler
java.lang.Object
hudson.model.Queue.QueueDecisionHandler
jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceWatchQueueDecisionHandler
- All Implemented Interfaces:
ExtensionPoint
Listen for what value is specified with ExtensibleChoiceParameter.
Registered only for watching enqueued jobs, not for decide whether a job should be enqueued.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onQueueing
(Queue.Task p, List<Action> actions) Notify ChoiceListProvider of the value selected.boolean
shouldSchedule
(Queue.Task p, List<Action> actions) Notify ChoiceListProvider of the value selected.Methods inherited from class hudson.model.Queue.QueueDecisionHandler
all
-
Constructor Details
-
ChoiceWatchQueueDecisionHandler
public ChoiceWatchQueueDecisionHandler()
-
-
Method Details
-
shouldSchedule
Notify ChoiceListProvider of the value selected. Called when Jenkins decides a build is queued.- Specified by:
shouldSchedule
in classQueue.QueueDecisionHandler
- Returns:
- always true (can be queued)
- See Also:
-
onQueueing
Notify ChoiceListProvider of the value selected.
-