public class

ProjectImportTaskContext

extends Object
implements TaskContext
java.lang.Object
   ↳ com.atlassian.jira.imports.project.ProjectImportTaskContext

Class Overview

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.

Summary

Public Constructors
ProjectImportTaskContext()
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".
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.task.TaskContext

Public Constructors

public ProjectImportTaskContext ()

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.