This package contains the required classes to create every type of tasks in order to be inserted in a job.
See: Description
Interface | Description |
---|---|
TaskId |
Definition of a task identification.
|
TaskInfo |
Informations about the task that is able to change.
These informations are not in the Task class in order to permit
the scheduler listener to send this class as event. |
TaskLogs |
This interface must be implemented by log storage for scheduler jobs.
|
TaskProgress | |
TaskResult |
Interface representing the task result.
A task result can be an exception or a serializable object that you have to cast into your own type. Before getting the object it is recommended to call the TaskResult.hadException() method.It will tell you if an exception occurred in the task that generate this result. |
Class | Description |
---|---|
CommonAttribute |
Definition of the common attributes between job and task.
|
ForkEnvironment |
Class representing a forked environment of a JVM created specifically for an execution of a Java Task.
|
JavaTask |
Use this class to build a java task that will use a
JavaExecutable and be integrated in a
TaskFlowJob . |
Log4JTaskLogs |
Log4j based implementation of TaskLogs.
|
NativeTask |
Use this class to build a native task that will use a 'org.ow2.proactive.scheduler.task.NativeExecutable' and be integrated in a
TaskFlowJob . |
OnTaskError | |
ParallelEnvironment |
The parallel environment of the multi-nodes tasks that defines
the number of nodes needed by task to be executed and topology
descriptor optimizing its execution.
|
PropertyModifier |
PropertyModifier is used to have an history of modification to apply to properties.
|
RestartMode |
This class represents the different restart mode for a task if an error occurred during its execution.
!! It is no longer an Enum since the rise of Hibernate. |
ScriptTask | |
SimpleTaskLogs |
A simple String based implementation of TaskLogs.
|
Task |
This class is the super class of the every task that can be integrated in a job.
A task contains some properties that can be set but also : A selection script that can be used to select a specific execution node for this task. A preScript that will be launched before the real task (can be used to set environment vars). A postScript that will be launched just after the end of the real task. |
TaskState |
This class contains all informations about the state of the task.
|
TaskStatesPage |
This class holds a paginated list of
TaskState
server-wise and the total number of tasks. |
TaskVariable | |
UpdatableProperties<T> |
UpdatableProperties allow to know if a specified value has been modified or not.
|
Enum | Description |
---|---|
TaskStatus |
This class represents every status that a task is able to be in.
Each status are best describe below. |
This package contains the required classes to create every type of tasks in order to be inserted in a job.
@author ProActive Team. November 2007 @since ProActive 3.9