Package | Description |
---|---|
de.unihalle.informatik.Alida.grappa |
Contains all resources for the graphical programming editor Grappa.
|
de.unihalle.informatik.Alida.gui |
Package containing GUI components for interactive operator selection/control.
|
de.unihalle.informatik.Alida.operator |
Contains the core of Alida, i.e. the operator concept and processing graph stuff.
|
de.unihalle.informatik.Alida.operator.events |
Definitions of Alida events and corresponding reporter and listener interfaces.
|
de.unihalle.informatik.Alida.workflows |
Classes related to workflows in Alida.
|
de.unihalle.informatik.Alida.workflows.events |
Contains all events appearing in context of workflows in Alida.
|
Modifier and Type | Field and Description |
---|---|
private ALDWorkflowNodeID |
ALDGrappaWorkbenchTab.ParameterUpdateListener.id
ID of the corresponding Grappa node.
|
ALDWorkflowNodeID |
ALDGrappaWorkbenchTab.WorkflowModifyAction.oldEdgeTarget |
Modifier and Type | Field and Description |
---|---|
protected HashMap<com.mxgraph.model.mxCell,ALDWorkflowNodeID> |
ALDGrappaWorkbenchTab.graphNodeIDs
Map of node cells and their corresponding Alida workflow IDs.
|
protected HashMap<ALDWorkflowNodeID,com.mxgraph.model.mxCell> |
ALDGrappaWorkbenchTab.graphNodes
Map of Alida workflow IDs and their corresponding node cells.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ALDGrappaWorkbenchTab.createNewWorkflowEdge(com.mxgraph.model.mxCell edge,
ALDWorkflowNodeID sourceNodeID,
ALDGrappaNodePortInfo sourcePort,
ALDWorkflowNodeID targetNodeID,
ALDGrappaNodePortInfo targetPort)
Adds a new edge object to the graph.
|
protected void |
ALDGrappaWorkbenchTab.handleAddNodeEvent(ALDOperator op,
ALDWorkflowNodeID id,
int posX,
int posY)
Adds a node to the workflow graph.
|
protected void |
ALDGrappaWorkbenchTab.handleShowResultsEvent(ALDWorkflowNodeID nodeID)
Displays result frame for given node.
|
protected void |
ALDGrappaWorkbenchTab.redirectWorkflowEdge(com.mxgraph.model.mxCell edge,
ALDWorkflowEdgeID id,
ALDWorkflowNodeID sourceNodeID,
ALDWorkflowNodeID targetNodeID,
ALDGrappaNodePortInfo sourcePort,
ALDGrappaNodePortInfo targetPort)
Redirects the workflow edge.
|
void |
ALDGrappaWorkbenchTab.runWorkflowFromNode(ALDWorkflowNodeID nodeID)
Executes the workflow from the specified node to the end.
|
void |
ALDGrappaWorkbenchTab.runWorkflowNode(ALDWorkflowNodeID nodeID)
Executes the workflow up to the specified node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ALDGrappaWorkbenchTab.handleNodeParameterChangeEvent(Collection<ALDWorkflowNodeID> idList)
Update node's configuration window according to parameter status.
|
protected void |
ALDGrappaWorkbenchTab.handleNodeStateChangeEvent(HashMap<ALDWorkflowNodeID,ALDWorkflowNode.ALDWorkflowNodeState> idList)
Update node color according to node's state.
|
Constructor and Description |
---|
ParameterUpdateListener(ALDWorkflowNodeID nodeID)
Default constructor.
|
Modifier and Type | Field and Description |
---|---|
private ALDWorkflowNodeID |
ALDOperatorGUIExecutionProxy.ParameterUpdateListener.id
Corresponding node ID.
|
protected ALDWorkflowNodeID |
ALDOperatorGUIExecutionProxy.operatorNodeID
Reference ID of the operator node in Alida workflow;
|
Modifier and Type | Method and Description |
---|---|
protected void |
ALDOperatorGUIExecutionProxy.handleAddNodeEvent(ALDOperator op,
ALDWorkflowNodeID id)
Adds a node to the workflow graph.
|
void |
ALDOperatorGUIExecutionProxy.ParameterUpdateListener.updateNodeID(ALDWorkflowNodeID nodeID)
Updates the ID of the workflow node associated with this listener.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ALDOperatorGUIExecutionProxy.handleNodeParameterChangeEvent(Collection<ALDWorkflowNodeID> idList)
Update parameter labels according to configuration states.
|
protected void |
ALDOperatorGUIExecutionProxy.handleNodeStateChangeEvent(HashMap<ALDWorkflowNodeID,ALDWorkflowNode.ALDWorkflowNodeState> idList)
Update control window color according to node's state.
|
Constructor and Description |
---|
ParameterUpdateListener(ALDWorkflowNodeID nodeID)
Default constructor.
|
Modifier and Type | Field and Description |
---|---|
private ALDWorkflowNodeID |
ALDOperatorCollection.ParameterUpdateListener.nID
Workflow node ID.
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<ALDWorkflowNodeID,T> |
ALDOperatorCollection.OperatorExecutionProxy.opNodeIDs
Mapping of workflow node IDs of active operators to operator objects.
|
protected HashMap<String,ALDWorkflowNodeID> |
ALDOperatorCollection.OperatorExecutionProxy.workflowNodeIDs
Mapping of operators UIDs to workflow node IDs.
|
Modifier and Type | Method and Description |
---|---|
T |
ALDOperatorCollection.getOperator(ALDWorkflowNodeID nid)
Get operator for given workflow node ID.
|
protected ALDWorkflowNode.ALDWorkflowNodeState |
ALDOperatorCollection.OperatorExecutionProxy.getOpState(ALDWorkflowNodeID nid)
Request the state of the operator workflow node.
|
Constructor and Description |
---|
ParameterUpdateListener(ALDWorkflowNodeID nid)
Default constructor.
|
Modifier and Type | Field and Description |
---|---|
(package private) ALDWorkflowNodeID |
ALDOperatorCollectionEventInfo.nid
Corresponding workflow node's ID causing this event, maybe null.
|
Modifier and Type | Method and Description |
---|---|
ALDWorkflowNodeID |
ALDOperatorCollectionEventInfo.getWorkflowNodeID()
Get workflow node ID, might be null.
|
Constructor and Description |
---|
ALDOperatorCollectionEventInfo(Exception exception,
ALDWorkflowNodeID id)
Constructor with arguments.
|
Modifier and Type | Field and Description |
---|---|
(package private) ALDWorkflowNodeID[] |
ALDWorkflow.loadIndexToNodeId
Gives the nodeIds of last loading of this workflow from an external representation
in the order as store externally.
|
Modifier and Type | Field and Description |
---|---|
private static HashMap<ALDWorkflowNodeID,ALDWorkflowNode> |
ALDWorkflow.nodeIdToNode
Hash map of operator nodes of this workflow.
|
private static HashMap<ALDWorkflowNode,ALDWorkflowNodeID> |
ALDWorkflow.nodeToNodeId |
Modifier and Type | Method and Description |
---|---|
ALDWorkflowNodeID |
ALDWorkflow.copyNode(ALDWorkflowNodeID nodeId,
boolean retainInEdges,
boolean retainParameterValues)
Copy this node.
|
protected ALDWorkflowNodeID |
ALDWorkflow.createChildWorkflow()
Add a new workflow as a child to this workflow.
|
protected ALDWorkflowNodeID |
ALDWorkflow.createChildWorkflow(String name)
Add a new workflow as a child to this workflow.
|
ALDWorkflowNodeID |
ALDWorkflow.createNode(ALDOperator op)
Add a new operator to this workflow.
|
ALDWorkflowNodeID |
ALDWorkflow.createNode(ALDOperatorLocation location)
Add a new operator node to this workflow.
|
ALDWorkflowNodeID |
ALDWorkflow.createNode(String opName)
Add a new operator node to this workflow.
|
ALDWorkflowNodeID |
ALDWorkflow.getNodeIdDuringLoading(Integer idx)
Return the nodeId of the idx-th node according to the order of the nodes
in the external representation resulting from (last) loading this workflow.
|
ALDWorkflowNodeID |
ALDWorkflow.getShadowNodeId() |
ALDWorkflowNodeID |
ALDWorkflow.getSourceNodeId(ALDWorkflowEdgeID edgeId)
Return the NodeId of the source node of this edge
|
ALDWorkflowNodeID |
ALDWorkflow.getTargetNodeId(ALDWorkflowEdgeID edgeId)
Return the NodeId of the target node of this edge
|
protected static ALDWorkflowNodeID |
ALDWorkflow.mapNodeToNodeId(ALDWorkflowNode node)
Map a node to its NodeId
|
Modifier and Type | Method and Description |
---|---|
HashMap<Integer,ALDWorkflowNodeID> |
ALDWorkflow.getMappingIntegerToNodeId()
Return the current mapping of integer ids to NodeIds.
|
HashMap<ALDWorkflowNodeID,Integer> |
ALDWorkflow.getMappingNodeIdToInteger()
Return the current mapping of NodeIds to integer ids.
|
Modifier and Type | Method and Description |
---|---|
ALDWorkflowNodeID |
ALDWorkflow.copyNode(ALDWorkflowNodeID nodeId,
boolean retainInEdges,
boolean retainParameterValues)
Copy this node.
|
ALDWorkflowEdgeID |
ALDWorkflow.createEdge(ALDWorkflowNodeID sourceNodeId,
String sourceParameterName,
ALDWorkflowNodeID targetNodeId,
String targetParameterName)
This method calls
createEdge with the argument allowDataConversion = false . |
ALDWorkflowEdgeID |
ALDWorkflow.createEdge(ALDWorkflowNodeID sourceNodeId,
String sourceParameterName,
ALDWorkflowNodeID targetNodeId,
String targetParameterName,
Boolean allowDataConversion)
Add an edge representing the data flow between the parameter
sourceParameterName in the operator represented by the node
with sourceNodeId
to the parameter targetParameterName in the operator represented by the node with
targetNodeId . |
Collection<String> |
ALDWorkflow.getMissingRequiredInputs(ALDWorkflowNodeID nodeId)
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.
|
ALDWorkflowNode |
ALDWorkflow.getNode(ALDWorkflowNodeID nodeId)
Get the workflow node associated with
nodeId . |
ALDOperator |
ALDWorkflow.getOperator(ALDWorkflowNodeID nodeId)
Get the operator associated with
nodeId . |
ALDWorkflowNode.ALDWorkflowNodeState |
ALDWorkflow.getState(ALDWorkflowNodeID nodeId)
Get the state of node with
nodeId . |
protected static ALDWorkflowNode |
ALDWorkflow.mapNodeIdToNode(ALDWorkflowNodeID nodeId)
Map a nodeId to its node.
|
void |
ALDWorkflow.nodeParameterChanged(ALDWorkflowNodeID nodeId)
Notify the workflow that parameters of the operator object associated with node
nodeId have changed. |
void |
ALDWorkflow.redirectSource(ALDWorkflowEdgeID edgeId,
ALDWorkflowNodeID newSourceNodeId,
String newSourceParameterName)
Call
redirectSource with with the argument allowDataConversion = false . |
void |
ALDWorkflow.redirectSource(ALDWorkflowEdgeID edgeId,
ALDWorkflowNodeID newSourceNodeId,
String newSourceParameterName,
Boolean allowDataConversion)
Redirect the source of an edge.
|
void |
ALDWorkflow.redirectTarget(ALDWorkflowEdgeID edgeId,
ALDWorkflowNodeID newTargetNodeId,
String newTargetParameterName)
Calls
redirectTarget with the argument allowDataConversion = false
The same restrictions as for createEdge apply. |
void |
ALDWorkflow.redirectTarget(ALDWorkflowEdgeID edgeId,
ALDWorkflowNodeID newTargetNodeId,
String newTargetParameterName,
Boolean allowDataConversion)
Redirect the target of an edge.
|
protected void |
ALDWorkflow.relocateNode(ALDWorkflowNodeID nodeId,
boolean disconnectEdges)
Relocate the node to this workflow.
|
void |
ALDWorkflow.removeNode(ALDWorkflowNodeID nodeId)
Remove a node with all incoming and outgoing edges from the workflow.
|
void |
ALDWorkflow.runFromNode(ALDWorkflowNodeID nodeId)
Run the given node and all descendants of the given node.
|
void |
ALDWorkflow.runFromNode(ALDWorkflowNodeID nodeId,
boolean waitForCompletion)
Run the given node and all descendants of the given node.
|
void |
ALDWorkflow.runFromNode(ALDWorkflowNodeID nodeId,
boolean waitForCompletion,
boolean stepRecursively)
Run the given node and all descendants of the given node.
|
void |
ALDWorkflow.runNode(ALDWorkflowNodeID nodeId)
Run the given node and all its ancestors.
|
void |
ALDWorkflow.runNode(ALDWorkflowNodeID nodeId,
boolean waitForCompletion)
Run the given node and all its ancestors.
|
void |
ALDWorkflow.runNode(ALDWorkflowNodeID nodeId,
boolean waitForCompletion,
boolean stepRecursively)
Run the given node and all its ancestors.
|
void |
ALDWorkflow.setOperator(ALDWorkflowNodeID nodeId,
ALDOperator newOp)
Set the operator associated with
nodeId . |
Modifier and Type | Method and Description |
---|---|
protected void |
ALDWorkflow.relocateNodes(Collection<ALDWorkflowNodeID> nodeIds,
boolean disconnectEdges)
Relocate the nodes
nodeIds and all edges of the sub graph induced by these
nodes to this workflow. |
Modifier and Type | Field and Description |
---|---|
private ALDWorkflowNodeID |
ALDWorkflowRunFailureInfo.nodeID
ID of the workflow node for which a
runOp() failed. |
Modifier and Type | Method and Description |
---|---|
ALDWorkflowNodeID |
ALDWorkflowRunFailureInfo.getNodeID() |
Constructor and Description |
---|
ALDWorkflowRunFailureInfo(ALDWorkflowNodeID nodeID) |
ALDWorkflowRunFailureInfo(Exception exception,
ALDWorkflowNodeID nodeID) |
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.