Package com.atlassian.jira.config
Class ReplicatedIndexTaskContext
java.lang.Object
com.atlassian.jira.config.ReplicatedIndexTaskContext
- All Implemented Interfaces:
IndexTask
,TaskContext
,Serializable
Context for global index operations. Only one global index operation is
allowed at one time. This should be instantiated only for task querying. For
submitting task please instantiate its children.
- Since:
- v3.13
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildProgressURL
(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
int
hashCode()
-
Constructor Details
-
ReplicatedIndexTaskContext
-
-
Method Details
-
buildProgressURL
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 interfaceTaskContext
- 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.
-
equals
-
hashCode
public int hashCode() -
getTaskInProgressMessage
- Specified by:
getTaskInProgressMessage
in interfaceIndexTask
-