public interface

Context

com.atlassian.jira.task.context.Context

Class Overview

Task context. Can be used to provide status updates to clients.

Null is not allowed for any method arguments or return values.

Instances should internally protect any state from concurrent updates and so should require no external synchronisation if shared by multiple threads.

Summary

Nested Classes
interface Context.Task A Task is a unit of work. 
Public Methods
void setName(String name)
Set the name of the current step.
Context.Task start(Object input)
Start a new sub-task.

Public Methods

public void setName (String name)

Set the name of the current step.

Parameters
name the name

public Context.Task start (Object input)

Start a new sub-task. These should be completed in a

finally
block.

Parameters
input the object of the task, can be used for tracking currently executing tasks.
Returns
  • the new Task.