Package hudson.model
Interface SCMedItem
-
- All Superinterfaces:
AccessControlled
,BuildableItem
,Item
,ModelObject
,OnMaster
,PersistenceRoot
,Queue.Task
,ResourceActivity
,Saveable
,SearchableModelObject
,SearchItem
,SubTask
@Deprecated public interface SCMedItem extends BuildableItem
Deprecated.ImplementSCMTriggerItem
instead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AbstractProject<?,?>
asProject()
Deprecated.SCMedItem
needs to be an instance ofAbstractProject
.SCM
getScm()
Deprecated.Gets theSCM
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 Usepoll(TaskListener)
instead.-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, getACL, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
Methods inherited from interface hudson.model.BuildableItem
scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild
-
Methods inherited from interface hudson.model.Item
delete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, onLoad, save
-
Methods inherited from interface hudson.model.PersistenceRoot
getRootDir
-
Methods inherited from interface hudson.model.Queue.Task
checkAbortPermission, getAffinityKey, getCauseOfBlockage, getDefaultAuthentication, getDefaultAuthentication, getDefaultAuthentication2, getDefaultAuthentication2, getFullDisplayName, getName, getSubTasks, getUrl, getWhyBlocked, hasAbortPermission, isBuildBlocked, isConcurrentBuild
-
Methods inherited from interface hudson.model.ResourceActivity
getDisplayName, getResourceList
-
Methods inherited from interface hudson.search.SearchableModelObject
getSearch
-
Methods inherited from interface hudson.search.SearchItem
getSearchIndex, getSearchName, getSearchUrl
-
Methods inherited from interface hudson.model.queue.SubTask
createExecutable, getAssignedLabel, getEstimatedDuration, getLastBuiltOn, getOwnerExecutable, getOwnerTask, getSameNodeConstraint
-
-
-
-
Method Detail
-
getScm
SCM getScm()
Deprecated.Gets theSCM
for this item.- Returns:
- may return null for indicating "no SCM".
-
asProject
AbstractProject<?,?> asProject()
Deprecated.SCMedItem
needs to be an instance ofAbstractProject
.This method must be always implemented as
(AbstractProject)this
, but defining this method emphasizes the fact that this cast must be doable.
-
pollSCMChanges
@Deprecated boolean pollSCMChanges(TaskListener listener)
Deprecated.as of 1.346 Usepoll(TaskListener)
instead.Checks if there's any update in SCM, and returns true if any is found.
-
poll
PollingResult poll(TaskListener listener)
Deprecated.Checks if there's any update in SCM, and returns true if any is found.The implementation is responsible for ensuring mutual exclusion between polling and builds if necessary.
- Returns:
- never null.
- Since:
- 1.345
-
-