Package hudson.model
Interface BuildableItemWithBuildWrappers
- All Superinterfaces:
AccessControlled
,BuildableItem
,ITask
,Item
,ModelObject
,OnMaster
,PersistenceRoot
,Queue.Task
,ResourceActivity
,Saveable
,SearchableModelObject
,SearchItem
,SubTask
- All Known Implementing Classes:
FreeStyleProject
,Project
AbstractProject
that has associated BuildWrapper
s.- Since:
- 1.335
- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionAbstractProject<?,
?> BuildableItemWithBuildWrappers
needs to be an instance ofAbstractProject
.BuildWrapper
s associated with thisAbstractProject
.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 jenkins.model.queue.ITask
hasAbortPermission, hasReadPermission
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, 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 Details
-
asProject
AbstractProject<?,?> asProject()BuildableItemWithBuildWrappers
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. -
getBuildWrappersList
DescribableList<BuildWrapper,Descriptor<BuildWrapper>> getBuildWrappersList()BuildWrapper
s associated with thisAbstractProject
.- Returns:
- can be empty but never null. This list is live, and changes to it will be reflected to the project configuration.
-