| Package | Description |
|---|---|
| com.ebay.bascomtask.main |
| Modifier and Type | Method and Description |
|---|---|
ITask |
Orchestrator.addConditionally(Object task,
boolean cond)
A convenience method, adds a task with a default name that is either
active or passive depending on the given condition.
|
ITask |
Orchestrator.addIgnoreTaskMethods(Object task)
Adds an object without considering any @Work or
@PassThru methods even if they exist, as if the object did not
have such methods in the first place.
|
ITask |
Orchestrator.addPassThru(Object task)
Adds a task whose @PassThru methods (rather than its
@@Work methods) will be invoked, always in the calling thread
-- no separate thread is created to execute a @PassThru method
since it assumed to perform simple actions like providing a default or
passing-through its arguments with no or little change.
|
ITask |
Orchestrator.addWork(Object task)
Adds a task to be made available to other task's task (@Work
or @PassThru) methods, and whose own @Work methods
will only be invoked (fired) when its task arguments have so fired.
|
ITask |
ITask.after(Object pojoTask)
The inverse of
before(Object), achieving the same effect while
allowing the arguments to be reversed. |
ITask |
Orchestrator.asAdded(Object targetTask)
Returns the ITask wrapper for a POJO task that has already been added to this orchestrator
|
ITask |
ITask.before(Object pojoTask)
Ensures this task completes before the given task.
|
ITask |
ITask.fork()
Prevents this task from being run by the calling thread, spawning a new
thread if needed.
|
ITask |
ITask.multiMethodOk()
Indicates that it is ok if the task has more than one method which can
fire.
|
ITask |
ITask.name(String name)
Each task has a name that defaults to its type name followed by a unique
integer for that type, unless overridden here.
|
ITask |
ITask.noWait()
Convenience method for setWait(false);
|
ITask |
ITask.provides(Class<?> pojoTaskClass)
Indicates that a task will add to the current orchestrator a pojo task
instance of the given class.
|
ITask |
ITask.wait(boolean wait)
Specifies whether the orchestrator should wait for this instance to
finish.
|
Copyright © 2018. All rights reserved.