com.atlassian.jira.task
Interface TaskContext
- All Known Implementing Classes:
- EnterpriseWorkflowTaskContext, ProfessionalWorkflowTaskContext, ProjectImportTaskContext
public interface TaskContext
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 |
java.lang.String |
buildProgressURL(java.lang.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". |
buildProgressURL
java.lang.String buildProgressURL(java.lang.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". 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.
Copyright © 2002-2010 Atlassian. All Rights Reserved.