Package jenkins.model.queue
Interface ITask
- All Superinterfaces:
- FullyNamedModelObject,- ModelObject
- All Known Subinterfaces:
- BuildableItem,- BuildableItemWithBuildWrappers,- ParameterizedJobMixIn.ParameterizedJob<JobT,,- RunT> - Queue.FlyweightTask,- Queue.NonBlockingTask,- Queue.Task,- Queue.TransientTask,- SCMedItem,- SubTask
- All Known Implementing Classes:
- AbstractProject,- AbstractQueueTask,- AbstractSubTask,- FreeStyleProject,- Project,- QueueTaskFilter
A task that can be displayed in the executors widget.
- Since:
- 2.480
- 
Method SummaryModifier and TypeMethodDescriptiondefault StringWorks likeModelObject.getDisplayName()but return the full path that includes all the display names of the ancestors in an unspecified format.getUrl()default booleandefault booleanMethods inherited from interface hudson.model.ModelObjectgetDisplayName
- 
Method Details- 
hasAbortPermissiondefault boolean hasAbortPermission()- Returns:
- trueif the current user can cancel the current task. NOTE: If you have implemented- AccessControlledthis returns by default- hasPermission(Item.CANCEL)
 
- 
hasReadPermissiondefault boolean hasReadPermission()- Returns:
- trueif the current user has read access on the task.
 
- 
getFullDisplayNameDescription copied from interface:FullyNamedModelObjectWorks likeModelObject.getDisplayName()but return the full path that includes all the display names of the ancestors in an unspecified format.- Specified by:
- getFullDisplayNamein interface- FullyNamedModelObject
- Returns:
- the full display name of the task.
 Defaults to the same as ModelObject.getDisplayName().
 
- 
getUrl- Returns:
- the URL where to reach specifically this task, relative to Jenkins URL. If non-null, must end with '/'.
 
 
-