| Package | Description |
|---|---|
| org.apache.oozie.fluentjob.api.dag | |
| org.apache.oozie.fluentjob.api.mapping |
| Modifier and Type | Class and Description |
|---|---|
class |
Decision
A class representing decision nodes in an Oozie workflow definition DAG.
|
class |
DecisionJoin
This class represents a joining point where two or more (but not necessarily all) conditional branches originating
from the same decision node meet.
|
class |
End
A class representing end nodes in an Oozie workflow definition DAG.
|
class |
ExplicitNode
A class representing action nodes in an Oozie workflow definition DAG.
|
class |
Fork
A class representing end nodes in an Oozie workflow definition DAG.
|
class |
Join
A class representing fork nodes in an Oozie workflow definition DAG.
|
class |
JoiningNodeBase<T>
An abstract base class for
Join and DecisionJoin. |
class |
Start
A class representing start nodes in an Oozie workflow definition DAG.
|
| Modifier and Type | Method and Description |
|---|---|
NodeBase |
ExplicitNode.getChild()
Returns the child of this node.
|
NodeBase |
JoiningNodeBase.getChild() |
NodeBase |
Start.getChild()
Returns the child of this
Start object. |
NodeBase |
Decision.getDefaultChild()
Returns the default child of this
Decision node. |
NodeBase |
DecisionJoin.getFirstNonDecisionJoinDescendant() |
NodeBase |
DagNodeWithCondition.getNode()
Returns the
NodeBase object of this DagNodeWithCondition. |
NodeBase |
Graph.getNodeByName(String name)
Returns the node with the given name in this graph if it exists,
null otherwise. |
NodeBase |
End.getParent()
Returns the parent of this node.
|
NodeBase |
ExplicitNode.getParent()
Returns the parent of this node.
|
NodeBase |
Fork.getParent()
Returns the parent of this node.
|
NodeBase |
Decision.getParent()
Returns the parent of this node.
|
| Modifier and Type | Method and Description |
|---|---|
List<NodeBase> |
End.getChildren() |
abstract List<NodeBase> |
NodeBase.getChildren()
Returns all the children (whether conditional or not) of this
NodeBase object. |
List<NodeBase> |
ExplicitNode.getChildren() |
List<NodeBase> |
JoiningNodeBase.getChildren() |
List<NodeBase> |
Start.getChildren() |
List<NodeBase> |
Fork.getChildren() |
List<NodeBase> |
Decision.getChildren() |
Collection<NodeBase> |
Graph.getNodes()
Returns a collection of the nodes in this graph.
|
List<NodeBase> |
JoiningNodeBase.getParents()
Returns an unmodifiable list of the parents of this node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
End.addChild(NodeBase child) |
protected abstract void |
NodeBase.addChild(NodeBase child)
Adds a child to this
NodeBase object. |
protected void |
ExplicitNode.addChild(NodeBase child) |
protected void |
JoiningNodeBase.addChild(NodeBase child) |
protected void |
Start.addChild(NodeBase child) |
protected void |
Fork.addChild(NodeBase child) |
protected void |
Decision.addChild(NodeBase child) |
void |
End.addParent(NodeBase parent)
Adds the provided node as a parent of this node.
|
abstract void |
NodeBase.addParent(NodeBase parent)
Adds the provided node as a parent of this
NodeBase object. |
void |
ExplicitNode.addParent(NodeBase parent)
Adds the provided node as a parent of this node.
|
void |
JoiningNodeBase.addParent(NodeBase parent) |
void |
Start.addParent(NodeBase parent)
Throws
IllegalStateException as start nodes cannot have parents. |
void |
Fork.addParent(NodeBase parent)
Adds the provided node as a parent of this node.
|
void |
Decision.addParent(NodeBase parent)
Adds the provided node as a parent of this node.
|
protected void |
End.removeChild(NodeBase child) |
protected abstract void |
NodeBase.removeChild(NodeBase child)
Removes the specified child from this
NodeBase object. |
protected void |
ExplicitNode.removeChild(NodeBase child) |
protected void |
JoiningNodeBase.removeChild(NodeBase child) |
protected void |
Start.removeChild(NodeBase child) |
protected void |
Fork.removeChild(NodeBase child) |
protected void |
Decision.removeChild(NodeBase child) |
static boolean |
DagNodeWithCondition.removeFromCollection(Collection<DagNodeWithCondition> collection,
NodeBase node)
Removes the first
DagNodeWithCondition object from a collection that has the provided node as its node. |
void |
End.removeParent(NodeBase parent) |
abstract void |
NodeBase.removeParent(NodeBase parent)
Removes a parent (whether or not conditional).
|
void |
ExplicitNode.removeParent(NodeBase parent) |
void |
JoiningNodeBase.removeParent(NodeBase parent) |
void |
Start.removeParent(NodeBase parent)
Throws
IllegalStateException as start nodes cannot have parents. |
void |
Fork.removeParent(NodeBase parent) |
void |
Decision.removeParent(NodeBase parent) |
| Constructor and Description |
|---|
DagNodeWithCondition(NodeBase node,
Condition condition)
Creates a new
DagNodeWithCondition object. |
| Modifier and Type | Method and Description |
|---|---|
Collection<NodeBase> |
GraphNodes.getNodes() |
Copyright © 2021 Apache Software Foundation. All rights reserved.