com.atlassian.core.task
Interface Task

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractErrorQueuedTaskQueue.TaskDecorator

public interface Task
extends java.io.Serializable

An Arbitary task used to execute some code. Tasks can be queued up on a queue and executed when the queue is flushed

Author:
Ross Mason
See Also:
TaskQueue

Method Summary
 void execute()
          The execute method is used to invoke the task.
 

Method Detail

execute

void execute()
             throws java.lang.Exception
The execute method is used to invoke the task.

Throws:
java.lang.Exception - if the task fails to execute


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.