public class

EnterpriseWorkflowTaskContext

extends Object
implements TaskContext
java.lang.Object
   ↳ com.atlassian.jira.workflow.migration.EnterpriseWorkflowTaskContext

Class Overview

The context used by enterprise workflow migration. Only unique within project via .equals()

Summary

Public Constructors
EnterpriseWorkflowTaskContext(Project triggerProject)
EnterpriseWorkflowTaskContext(Project triggerProject, Long schemeId, boolean draftMigration)
EnterpriseWorkflowTaskContext(Project triggerProject, List<Project> projects, Long schemeId, boolean draftMigration)
Public Methods
String buildProgressURL(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".
boolean equals(Object o)
Long getSchemeId()
Long getTriggerProjectId()
int hashCode()
boolean isDraftMigration()
boolean isSafeToDelete()
void markSafeToDelete()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.task.TaskContext

Public Constructors

public EnterpriseWorkflowTaskContext (Project triggerProject)

public EnterpriseWorkflowTaskContext (Project triggerProject, Long schemeId, boolean draftMigration)

public EnterpriseWorkflowTaskContext (Project triggerProject, List<Project> projects, Long schemeId, boolean draftMigration)

Public Methods

public String buildProgressURL (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.

public boolean equals (Object o)

public Long getSchemeId ()

public Long getTriggerProjectId ()

public int hashCode ()

public boolean isDraftMigration ()

public boolean isSafeToDelete ()

public void markSafeToDelete ()