SCMTriggerItem
instead.@Deprecated 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, scheduleBuild
delete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, onLoad, save
getRootDir
getSearch
getSearchIndex, getSearchName, getSearchUrl
checkAnyPermission, checkPermission, getACL, hasAnyPermission, hasPermission, hasPermission, hasPermission2
checkAbortPermission, getAffinityKey, getCauseOfBlockage, getDefaultAuthentication, getDefaultAuthentication, getDefaultAuthentication2, getDefaultAuthentication2, getFullDisplayName, getName, getSubTasks, getUrl, getWhyBlocked, hasAbortPermission, isBuildBlocked, isConcurrentBuild
createExecutable, getAssignedLabel, getEstimatedDuration, getLastBuiltOn, getOwnerTask, getSameNodeConstraint
getDisplayName, getResourceList
SCM 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.
@Deprecated 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 © 2004–2021. All rights reserved.