public interface SCMTriggerItem
SCMTrigger
.Modifier and Type | Interface and Description |
---|---|
static class |
SCMTriggerItem.SCMTriggerItems
Utilities.
|
Modifier and Type | Method and Description |
---|---|
Item |
asItem()
Should be
this . |
int |
getNextBuildNumber() |
int |
getQuietPeriod() |
Collection<? extends SCM> |
getSCMs()
Obtains all active SCMs.
|
SCMTrigger |
getSCMTrigger() |
PollingResult |
poll(TaskListener listener)
Checks if there is any update in SCM.
|
QueueTaskFuture<?> |
scheduleBuild2(int quietPeriod,
Action... actions) |
default boolean |
schedulePolling()
Schedules a polling of this project.
|
Item asItem()
this
.int getNextBuildNumber()
Job.getNextBuildNumber()
int getQuietPeriod()
@CheckForNull QueueTaskFuture<?> scheduleBuild2(int quietPeriod, Action... actions)
@NonNull PollingResult poll(@NonNull TaskListener listener)
The implementation is responsible for ensuring mutual exclusion between polling and builds if necessary.
The implementation is responsible for checking the SCMDecisionHandler
before proceeding
with the actual polling.
@CheckForNull SCMTrigger getSCMTrigger()
@NonNull Collection<? extends SCM> getSCMs()
default boolean schedulePolling()
Copyright © 2004–2022. All rights reserved.