Package com.atlassian.jira.task
Interface RequiresTaskInformation<T extends Serializable>
public interface RequiresTaskInformation<T extends Serializable>
A long running task that implements
RequiresTaskInformation will be told about the
TaskDescriptor that describes the task.- Since:
- v3.13
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetTaskDescriptor(TaskDescriptor<T> taskDescriptor) Called to give the task itsTaskDescriptor.
-
Method Details
-
setTaskDescriptor
Called to give the task itsTaskDescriptor. 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.
-