GNDMS 0.6.0
RESTful verison of GNDMS
Public Types | Public Member Functions | Private Attributes

de.zib.gndms.common.model.gorfx.types.TaskFlowStatus Class Reference

Status of a task flow. More...

List of all members.

Public Types

enum  State {
  NO_ORDER, NO_QUOTES, TASK_RUNNING, TASK_PREPARED,
  TASK_PAUSED, TASK_DONE, ORDER_UNFULFILLABLE
}
 

The state enumerator for the taskflow.

More...

Public Member Functions

State getState ()
 Delivers the value of ::state.
void setState (State state)
 Sets the value of ::state to state.
TaskStatus getTaskStatus ()
 Delivers the value of ::taskStatus.
void setTaskStatus (TaskStatus taskStatus)
 Sets the value of ::taskStatus to taskStatus.
Specifier< Void > getTaskSpecifier ()
 Delivers the value of ::taskSpecifier.
void setTaskSpecifier (Specifier< Void > taskSpecifier)
 Sets the value of ::taskSpecifier to taskSpecifier.

Private Attributes

State state
 The state of the taskflow itself;.
TaskStatus taskStatus
 The status of the taskSpecifier associated with the taskSpecifier flow.
Specifier< Void > taskSpecifier
 The id of the taskSpecifier associated with the taskSpecifier flow.

Detailed Description

Status of a task flow.

Author:
try ma ik jo rr a zib
Date:
01.03.11 13:57 The taskflow status contains the current state of the taskflow execution chain, e.g. is valid order available, were quotes computed and the like. Additionally it is able to box the task status, if a task is available an running.

Member Enumeration Documentation

The state enumerator for the taskflow.

NOT the task!

Enumerator:
NO_ORDER 

Taskflow without order.

NO_QUOTES 

Taskflow without order.

TASK_RUNNING 

Taskflow has a running taskSpecifier.

TASK_PREPARED 

Taskflow's taskSpecifier can be executed.

TASK_PAUSED 

Taskflow's taskSpecifier can be executed.

TASK_DONE 

Taskflow's taskSpecifier has finished or failed.

ORDER_UNFULFILLABLE 

Task order is unfulfillable.


Member Function Documentation

State de.zib.gndms.common.model.gorfx.types.TaskFlowStatus.getState ( )

Delivers the value of ::state.

Returns:
The value of ::state.
Specifier<Void> de.zib.gndms.common.model.gorfx.types.TaskFlowStatus.getTaskSpecifier ( )

Delivers the value of ::taskSpecifier.

Returns:
The value of ::taskSpecifier.
TaskStatus de.zib.gndms.common.model.gorfx.types.TaskFlowStatus.getTaskStatus ( )

Delivers the value of ::taskStatus.

Returns:
The value of ::taskStatus.
void de.zib.gndms.common.model.gorfx.types.TaskFlowStatus.setState ( State  state)

Sets the value of ::state to state.

Parameters:
stateThe new value of ::state.
void de.zib.gndms.common.model.gorfx.types.TaskFlowStatus.setTaskSpecifier ( Specifier< Void >  taskSpecifier)

Sets the value of ::taskSpecifier to taskSpecifier.

Parameters:
taskSpecifierThe new value of ::taskSpecifier.
void de.zib.gndms.common.model.gorfx.types.TaskFlowStatus.setTaskStatus ( TaskStatus  taskStatus)

Sets the value of ::taskStatus to taskStatus.

Parameters:
taskStatusThe new value of ::taskStatus.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations