Package com.atlassian.jira.task
Interface TaskContext
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IndexTask
- All Known Implementing Classes:
AnonymizeUserTaskContext
,AssignIssueSecuritySchemeTaskContext
,BackgroundIndexTaskContext
,BulkEditTaskContext
,CloneIssueTaskContext
,DeleteProjectTaskContext
,EmptyTaskContext
,EnterpriseWorkflowTaskContext
,ForegroundIndexTaskContext
,GenericTaskContext
,IndexTaskContext
,IntegrityCheckerTaskContext
,MigratePrioritySchemeAction.MigratePrioritySchemeTaskContext
,NonExclusiveTaskContext
,ProjectImportTaskContext
,ProjectIndexTaskContext
,ProjectTaskContext
,ReplicatedIndexTaskContext
This interface is used by parts of the code that kick off tasks to give the task a "context" to operate in.
This MUST implement the equals/hashCode design pattern because the TaskManager uses it to prevent multiple submissions of task with the same "context".
- Since:
- v3.13
-
Method Summary
Modifier and TypeMethodDescriptionbuildProgressURL
(Long taskId) This factory method is called to build a progress URL so the TaskDescriptor can allow some one to navigate to the task's "web page".
-
Method Details
-
buildProgressURL
This factory method is called to build a progress URL so the TaskDescriptor can allow some one to navigate to the task's "web page". The URL should start with "/" and be ready for the servlet context path to be prepended.- Parameters:
taskId
- - the id of the task. Since this is not known until task submission, this call back is informed of it once created.- Returns:
- returns a context specific progress URL that a user can go to to view the progress of a task.
-