public interface

RequiresTaskInformation

com.atlassian.jira.task.RequiresTaskInformation<T extends java.io.Serializable>

Class Overview

A long running task that implements RequiresTaskInformation will be told about the TaskDescriptor that describes the task.

Summary

Public Methods
void setTaskDescriptor(TaskDescriptor<T> taskDescriptor)
Called to give the task its TaskDescriptor.

Public Methods

public void setTaskDescriptor (TaskDescriptor<T> taskDescriptor)

Called to give the task its TaskDescriptor. This will be called before the tasks starts running. The passed descriptor is live and may change during the life of the task.

Parameters
taskDescriptor the task's descriptor. It will not be null. The descriptor is live and may change during the life of the task.