public class GenericTaskContext extends Object implements TaskContext
Constructor and Description |
---|
GenericTaskContext(String progressURL,
String taskContextName) |
Modifier and Type | Method and Description |
---|---|
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 obj) |
String |
getTaskContextName() |
int |
hashCode() |
String |
toString() |
public GenericTaskContext(String progressURL, String taskContextName)
progressURL
- progress URL to be returned as-is by buildProgressURL(java.lang.Long)
taskContextName
- this name should be unique between task submitters, to identify their taskpublic String buildProgressURL(Long taskId)
TaskContext
buildProgressURL
in interface TaskContext
taskId
- - the id of the task. Since this is not known until task submission, this call back is informed of it once created.public String getTaskContextName()
Copyright © 2002-2018 Atlassian. All Rights Reserved.