com.atlassian.jira.workflow.migration
Class EnterpriseWorkflowTaskContext
java.lang.Object
com.atlassian.jira.workflow.migration.EnterpriseWorkflowTaskContext
- All Implemented Interfaces:
- TaskContext
public class EnterpriseWorkflowTaskContext
- extends Object
- implements TaskContext
The context used by enterprise workflow migration. Only unique within project via .equals()
- Since:
- v3.13
EnterpriseWorkflowTaskContext
public EnterpriseWorkflowTaskContext(Project triggerProject)
EnterpriseWorkflowTaskContext
public EnterpriseWorkflowTaskContext(Project triggerProject,
Long schemeId,
boolean draftMigration)
EnterpriseWorkflowTaskContext
public EnterpriseWorkflowTaskContext(Project triggerProject,
List<Project> projects,
Long schemeId,
boolean draftMigration)
buildProgressURL
public String buildProgressURL(Long taskId)
- Description copied from interface:
TaskContext
- 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.
- Specified by:
buildProgressURL
in interface TaskContext
- 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.
getTriggerProject
public Project getTriggerProject()
getSchemeId
public Long getSchemeId()
isDraftMigration
public boolean isDraftMigration()
getProjects
public List<Project> getProjects()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.