com.atlassian.jira.imports.project
Class ProjectImportTaskContext

java.lang.Object
  extended by com.atlassian.jira.imports.project.ProjectImportTaskContext
All Implemented Interfaces:
TaskContext

public class ProjectImportTaskContext
extends Object
implements TaskContext

This does almost nothing. Uses the default equals and hashcode so that when you register a task with the task manager it will always be seen as unique. Also, we don't want a progress url since we don't want anyone jumping into the middle of a ProjectImport wizard.

Since:
v3.13

Constructor Summary
ProjectImportTaskContext()
           
 
Method Summary
 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".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectImportTaskContext

public ProjectImportTaskContext()
Method Detail

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.


Copyright © 2002-2014 Atlassian. All Rights Reserved.