com.atlassian.jira.task
Interface RequiresTaskInformation<T>

All Known Implementing Classes:
WorkflowAsynchMigrator

public interface RequiresTaskInformation<T>

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

Since:
v3.13

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

Method Detail

setTaskDescriptor

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.


Copyright © 2002-2012 Atlassian. All Rights Reserved.