public class ALDWorkflowNode extends Object
ALDAOperator object
and edges connecting parameters of this operator.| Modifier and Type | Class and Description |
|---|---|
static class |
ALDWorkflowNode.ALDWorkflowNodeState |
| Modifier and Type | Field and Description |
|---|---|
boolean |
isInteriorShadowNode
Is true it his node is used as an interior shadow (or substitute) for the
node holding this work flow {see
ALDWorkflow. |
| Constructor and Description |
|---|
ALDWorkflowNode(ALDWorkflow parentWorkflow,
ALDOperator op)
Create a node
|
ALDWorkflowNode(ALDWorkflow parentWorkflow,
ALDOperator op,
boolean isInteriorShadowNode)
Create a node
|
| Modifier and Type | Method and Description |
|---|---|
Set<ALDWorkflowNode> |
getAncestors()
Return all ancestors of this node.
|
Set<ALDWorkflowNode> |
getChildren()
Return all children nodes of this node.
|
Set<ALDWorkflowNode> |
getDescendants()
Return the nodeIds of all descendants of the given node.
|
Integer |
getId()
Return the Id associated with this node.
|
protected Vector<ALDWorkflowEdge> |
getInEdges()
Returns all incoming edges.
|
Collection<ALDWorkflowEdge> |
getInEdgesForParameter(String parameterName)
Return all incoming edges for this node which
have their target at
parameterName. |
Collection<String> |
getMissingRequiredInputs()
Returns the names of all required input parameters of the operator object associated with the node
which are not linked and have a value of null
|
ALDOperator |
getOperator()
Returns the operator associated with this node.
|
String |
getOperatorExecutionProgressDescr() |
protected Vector<ALDWorkflowEdge> |
getOutEdges()
Returns all outgoing edges.
|
Collection<ALDWorkflowEdge> |
getOutEdgesForParameter(String parameterName)
Return outgoing edges for this node which
have their source at
parameterName. |
Set<ALDWorkflowNode> |
getParents()
Return all parents of this node.
|
ALDWorkflow |
getParentWorkflow() |
ALDWorkflowNode.ALDWorkflowNodeState |
getState()
Returns the current state of this node
|
boolean |
isConfigured()
Checks if this node is configured.
|
void |
print()
Print information of this node to standard out.
|
protected void |
setOperator(ALDOperator newOp)
Sets the operator associated with this node.
|
void |
setOperatorExecutionProgressDescr(String operatorExecutionProgressDescr) |
protected void |
setParentWorkflow(ALDWorkflow parentWorkflow) |
protected void |
setState(ALDWorkflowNode.ALDWorkflowNodeState state)
Sets the state of this node
|
boolean |
stateGreaterEqual(ALDWorkflowNode.ALDWorkflowNodeState compareState)
Return true if the state of this node is greater equal the
compareState |
public final boolean isInteriorShadowNode
ALDWorkflow.public ALDWorkflowNode(ALDWorkflow parentWorkflow, ALDOperator op)
parentWorkflow - TODOop - id - public ALDWorkflowNode(ALDWorkflow parentWorkflow, ALDOperator op, boolean isInteriorShadowNode)
parentWorkflow - TODOop - id - public ALDWorkflow getParentWorkflow()
protected void setParentWorkflow(ALDWorkflow parentWorkflow)
parentWorkflow - the parentWorkflow to setpublic ALDOperator getOperator()
protected void setOperator(ALDOperator newOp) throws ALDWorkflowException
ALDWorkflowException - if the new operator instance is of wrong typepublic ALDWorkflowNode.ALDWorkflowNodeState getState()
protected void setState(ALDWorkflowNode.ALDWorkflowNodeState state)
state - New statepublic Integer getId()
public boolean stateGreaterEqual(ALDWorkflowNode.ALDWorkflowNodeState compareState)
compareStatecompareState - protected Vector<ALDWorkflowEdge> getInEdges()
protected Vector<ALDWorkflowEdge> getOutEdges()
public String getOperatorExecutionProgressDescr()
public void setOperatorExecutionProgressDescr(String operatorExecutionProgressDescr)
operatorExecutionProgressDescr - the operatorExecutionProgressDescr to setpublic Set<ALDWorkflowNode> getParents()
public Set<ALDWorkflowNode> getChildren()
public Set<ALDWorkflowNode> getDescendants()
nodeId - public Set<ALDWorkflowNode> getAncestors()
public Collection<ALDWorkflowEdge> getInEdgesForParameter(String parameterName)
parameterName.parameterName - parameterNamepublic Collection<ALDWorkflowEdge> getOutEdgesForParameter(String parameterName)
parameterName.parameterName - parameterNamepublic boolean isConfigured()
public Collection<String> getMissingRequiredInputs()
public void print()
Copyright © 2010–2015 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.