- add(ExecutionResult<T, R>) - Method in class com.github.dexecutor.core.task.ExecutionResults
-
adds result
to existing collection of results
- addAsDependencyToAllInitialNodes(T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addAsDependencyToAllInitialNodes(T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Adds the node as dependency to all initial nodes (at the time of adding), meaning this given node would be evaluated first and then all initial nodes would run in parallel
- addAsDependentOnAllLeafNodes(T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addAsDependentOnAllLeafNodes(T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Adds the node as dependent on all leaf nodes (at the time of adding), meaning all leaf nodes would be evaluated first and then the given node
- addDependency(T, T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addDependency(T, T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Add Two dependent nodes into the graph, creating the nodes if not already present
- addDependency(T, T) - Method in interface com.github.dexecutor.core.graph.Dag
-
Should add the two nodes in the datastructure in such a way that evalFirstValue
should be evaluated before evalAfterValue
.
- addDependency(T, T) - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- addInComingNode(Node<T, R>) - Method in class com.github.dexecutor.core.graph.Node
-
Add the given node, to the set of incoming nodes
- addIndependent(T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addIndependent(T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Add a node as independent, it does not require any dependent node
- addIndependent(T) - Method in interface com.github.dexecutor.core.graph.Dag
-
Adds the given node to the datastructure whith out any dependency
Nodes should be created only if it is not already added.
- addIndependent(T) - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- addOutGoingNode(Node<T, R>) - Method in class com.github.dexecutor.core.graph.Node
-
add the given to the set of out going nodes
- allNodes() - Method in interface com.github.dexecutor.core.graph.Dag
-
Returns all nodes in this graph
- allNodes() - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- anyParentSkipped() - Method in class com.github.dexecutor.core.task.ExecutionResults
-
- scheduledRetrying(int, Duration) - Method in class com.github.dexecutor.core.ExecutionConfig
-
- setConsiderExecutionError(boolean) - Method in class com.github.dexecutor.core.task.Task
-
sets whether execution errors should be considered or not?
- setData(Object) - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's data to a new value
- setErrored() - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's execution result to ERRORED
- setId(T) - Method in class com.github.dexecutor.core.task.Task
-
Sets the new id
- setImmediateRetryPoolThreadsCount(int) - Method in class com.github.dexecutor.core.DependentTasksExecutorConfig
-
sets the immediate retry thread pool size to that of specified
- setResult(R) - Method in class com.github.dexecutor.core.graph.Node
-
sets the node's execution result to a new value
- setScheduledRetryPoolThreadsCount(int) - Method in class com.github.dexecutor.core.DependentTasksExecutorConfig
-
sets the scheduled thread pool size to that of specified
- setSkipped() - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's execution result to SKIPPED
- setSuccess() - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's execution result to SUCCESS
- setTraversar(Traversar<T, R>) - Method in class com.github.dexecutor.core.DependentTasksExecutorConfig
-
Change the traversar to that of specified
- setValidator(Validator<T, R>) - Method in class com.github.dexecutor.core.DependentTasksExecutorConfig
-
change the validator to that of specified
- shouldConsiderExecutionError() - Method in class com.github.dexecutor.core.task.Task
-
- shouldExecute(ExecutionResults<T, R>) - Method in class com.github.dexecutor.core.task.Task
-
Defines whether or not this task should be executed
- shouldRetry(int) - Method in class com.github.dexecutor.core.ExecutionConfig
-
- size() - Method in interface com.github.dexecutor.core.graph.Dag
-
Returns the total number of nodes in this graph
- size() - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- skipped() - Method in class com.github.dexecutor.core.task.ExecutionResult
-
Marks the execution result as skipped
- submit(Task<T, R>) - Method in class com.github.dexecutor.core.DefaultExecutionEngine
-
- submit(Task<T, R>) - Method in interface com.github.dexecutor.core.ExecutionEngine
-
Submits the task for execution, the method is expected to return immediately.