Class EnterpriseWorkflowTaskContext
java.lang.Object
com.atlassian.jira.workflow.migration.EnterpriseWorkflowTaskContext
- All Implemented Interfaces:
TaskContext,Serializable
The context used by enterprise workflow migration. Only unique within project via .equals()
- Since:
- v3.13
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseWorkflowTaskContext(Project triggerProject) EnterpriseWorkflowTaskContext(Project triggerProject, Long schemeId, boolean draftMigration) EnterpriseWorkflowTaskContext(Project triggerProject, List<Project> projects, Long schemeId, boolean draftMigration) -
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".booleaninthashCode()booleanbooleanvoid
-
Constructor Details
-
EnterpriseWorkflowTaskContext
-
EnterpriseWorkflowTaskContext
-
EnterpriseWorkflowTaskContext
-
-
Method Details
-
buildProgressURL
Description copied from interface:TaskContextThis 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.- Specified by:
buildProgressURLin interfaceTaskContext- 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.
-
getSchemeId
-
isDraftMigration
public boolean isDraftMigration() -
isSafeToDelete
public boolean isSafeToDelete() -
markSafeToDelete
public void markSafeToDelete() -
equals
-
hashCode
public int hashCode() -
getTriggerProjectId
-