SCMTriggerItem instead.public interface SCMedItem extends BuildableItem
| Modifier and Type | Method and Description |
|---|---|
AbstractProject<?,?> |
asProject()
Deprecated.
SCMedItem needs to be an instance of
AbstractProject. |
SCM |
getScm()
Deprecated.
Gets the
SCM for this item. |
PollingResult |
poll(TaskListener listener)
Deprecated.
Checks if there's any update in SCM, and returns true if any is found.
|
boolean |
pollSCMChanges(TaskListener listener)
Deprecated.
as of 1.346
Use
poll(TaskListener) instead. |
scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuilddelete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, onLoad, savegetRootDirgetSearchgetSearchIndex, getSearchName, getSearchUrlcheckPermission, getACL, hasPermissioncheckAbortPermission, getCauseOfBlockage, getDefaultAuthentication, getFullDisplayName, getName, getSubTasks, getUrl, getWhyBlocked, hasAbortPermission, isBuildBlocked, isConcurrentBuildcreateExecutable, getAssignedLabel, getEstimatedDuration, getLastBuiltOn, getOwnerTask, getSameNodeConstraintgetDisplayName, getResourceListSCM getScm()
SCM for this item.AbstractProject<?,?> asProject()
SCMedItem needs to be an instance of
AbstractProject.
This method must be always implemented as (AbstractProject)this, but
defining this method emphasizes the fact that this cast must be doable.
boolean pollSCMChanges(TaskListener listener)
poll(TaskListener) instead.PollingResult poll(TaskListener listener)
The implementation is responsible for ensuring mutual exclusion between polling and builds if necessary.
Copyright © 2014. All rights reserved.