Package jenkins.model.queue
Interface ITask
- All Superinterfaces:
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 Summary
Methods inherited from interface hudson.model.ModelObject
getDisplayName
-
Method Details
-
hasAbortPermission
default boolean hasAbortPermission()- Returns:
trueif the current user can cancel the current task. NOTE: If you have implementedAccessControlledthis returns by defaulthasPermission(Item.CANCEL)
-
hasReadPermission
default boolean hasReadPermission()- Returns:
trueif the current user has read access on the task.
-
getFullDisplayName
- 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 '/'.
-