TODO: what to do when a task of the inner orchestrator aborts? abort the inner orchestrator and consequently the TaskBundle?
Causes this task and its orchestrator to abort.
Causes this task and its orchestrator to abort. This will have the following effects:
Aborted.
2. Every unstarted task that depends on this one will never be started. This will happen because a task can
only start if its dependencies have finished and this task did not finish.
3. Waiting tasks will be untouched and the orchestrator will still be prepared to handle their responses.
4. The method onFinish will never be called. Similarly to the unstarted tasks, onFinish will only
be invoked if all tasks have finished and this task did not finish.
5. The method onAbort will be invoked in the orchestrator.
The behavior of this task.
The behavior of this task. This is akin to the receive method of an actor, except for the fact that an all catching pattern match will cause the orchestrator to fail. For example:
def behavior = Receive { case m => //Some code }
This will cause the orchestrator to fail because the messages won't be handled by the correct tasks.
whether this task state is Unstarted and all its dependencies have finished.
The constructor of the message to be sent.
The constructor of the message to be sent.
The ActorPath to whom this task will send the message(s).
The ActorPath to whom this task will send the message(s).
Finishes this task, which implies:
Finishes this task, which implies:
Finishing an already finished task will throw an exception.
the message which prompted the finish.
the id obtained from the message.
The result of this task. A task will only have a result if it is finished.
the current state of this Task.
The immutable TaskReport of this task.
The immutable TaskReport of this task.
TaskBundle: Variable number of tasks Fixed destination Different messages