com.atlassian.jira.bc.project.index
Class ProjectIndexTaskContext
java.lang.Object
com.atlassian.jira.bc.project.index.ProjectIndexTaskContext
- All Implemented Interfaces:
- IndexTask, TaskContext
public class ProjectIndexTaskContext
- extends Object
- implements IndexTask
Context for project index operations. There can be only one such operation
per project at any given time.
- Since:
- v6.1
ProjectIndexTaskContext
public ProjectIndexTaskContext(Project project)
getTaskInProgressMessage
public String getTaskInProgressMessage(I18nHelper i18n)
- Specified by:
getTaskInProgressMessage
in interface IndexTask
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.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2002-2014 Atlassian. All Rights Reserved.