@Extension(optional=true)
public class WorkingHoursQueueTaskDispatcher
extends hudson.model.queue.QueueTaskDispatcher
| Constructor and Description |
|---|
WorkingHoursQueueTaskDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.queue.CauseOfBlockage |
canRun(hudson.model.Queue.Item item)
Determines whether the job has a EnforceScheduleJobProperty,
and if so, checks whether the current time is allowed, blocking it if not
|
boolean |
canRunNow(hudson.model.Actionable itemActionable,
hudson.model.Queue.Item item)
Determines whether a queue item can run at the current moment.
|
hudson.model.queue.CauseOfBlockage |
canTake(hudson.model.Node node,
hudson.model.Queue.BuildableItem item) |
boolean |
isReleased(EnforceBuildScheduleAction action,
hudson.model.Queue.Item item)
Determines if a queue item has been manually released.
|
public hudson.model.queue.CauseOfBlockage canRun(hudson.model.Queue.Item item)
canRun in class hudson.model.queue.QueueTaskDispatcherpublic hudson.model.queue.CauseOfBlockage canTake(hudson.model.Node node,
hudson.model.Queue.BuildableItem item)
canTake in class hudson.model.queue.QueueTaskDispatcherpublic boolean isReleased(EnforceBuildScheduleAction action, hudson.model.Queue.Item item)
action - The enforce build schedule action.item - The queue item to check.public boolean canRunNow(hudson.model.Actionable itemActionable,
hudson.model.Queue.Item item)
itemActionable - The item being checked.item - The queue item to check.Copyright © 2016–2020. All rights reserved.