com.atlassian.jira.workflow.migration.professional
Class ProfessionalWorkflowTaskContext

java.lang.Object
  extended by com.atlassian.jira.workflow.migration.professional.ProfessionalWorkflowTaskContext
All Implemented Interfaces:
TaskContext

public class ProfessionalWorkflowTaskContext
extends java.lang.Object
implements TaskContext

Context used by professional migration.

Since:
v3.13

Constructor Summary
ProfessionalWorkflowTaskContext(java.lang.String workflowName)
           
 
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".
 boolean equals(java.lang.Object o)
          The current instance is equal to any other instance of this class.
 java.lang.String getWorkflowName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfessionalWorkflowTaskContext

public ProfessionalWorkflowTaskContext(java.lang.String workflowName)
Method Detail

buildProgressURL

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

getWorkflowName

public java.lang.String getWorkflowName()

equals

public boolean equals(java.lang.Object o)
The current instance is equal to any other instance of this class. This ensures this is that only one instance of this class can be kept in a datastructure.

Overrides:
equals in class java.lang.Object
Parameters:
o - the object to compare.
Returns:
true if this and the passed object are of the same Class.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.