Package | Description |
---|---|
org.apache.taverna.annotation |
Entities within the workflow object model may be marked as annotated.
|
org.apache.taverna.workflowmodel |
Defines classes and interfaces for workflow level entities and events.
|
org.apache.taverna.workflowmodel.impl |
Implementation package for workflow entities
|
org.apache.taverna.workflowmodel.processor.dispatch.impl |
Implementation package for the dispatch stack interfaces.
|
org.apache.taverna.workflowmodel.utils |
Modifier and Type | Method and Description |
---|---|
Edit<? extends TargetType> |
Annotated.getAddAnnotationEdit(AnnotationChain newAnnotation)
Add new workflow object metadata to this annotated entity
|
Edit<T> |
AbstractAnnotatedThing.getAddAnnotationEdit(AnnotationChain newAnnotation) |
Edit<? extends TargetType> |
Annotated.getRemoveAnnotationEdit(AnnotationChain annotationToRemove)
Remove an annotation object from the this annotated entity
|
Edit<T> |
AbstractAnnotatedThing.getRemoveAnnotationEdit(AnnotationChain annotationToRemove) |
Modifier and Type | Class and Description |
---|---|
class |
CompoundEdit
Implementation of Edit which contains an ordered list of child edits.
|
Modifier and Type | Method and Description |
---|---|
Edit<Processor> |
Edits.getAddActivityEdit(Processor processor,
Activity<?> activity)
Add an Activity implementation to the set of activities within a
Processor
|
Edit<Activity<?>> |
Edits.getAddActivityInputPortEdit(Activity<?> activity,
ActivityInputPort activityInputPort)
Returns an edit to add an ActivityInputPort to an Activity.
|
Edit<Activity<?>> |
Edits.getAddActivityInputPortMappingEdit(Activity<?> activity,
String processorPortName,
String activityPortName)
Returns an edit to add a ProcessorInputPort to ActivityInputPort mapping
to an Activity.
|
Edit<Activity<?>> |
Edits.getAddActivityOutputPortEdit(Activity<?> activity,
ActivityOutputPort activityOutputPort)
Returns an edit to add an ActivityOutputPort to an Activity.
|
Edit<Activity<?>> |
Edits.getAddActivityOutputPortMappingEdit(Activity<?> activity,
String processorPortName,
String activityPortName)
Returns an edit to add a ProcessorOutputPort to OutputPort mapping to an
Activity.
|
Edit<AnnotationChain> |
Edits.getAddAnnotationAssertionEdit(AnnotationChain annotationChain,
AnnotationAssertion<?> annotationAssertion)
Add an
AnnotationAssertion to an AnnotationChain |
<T extends AnnotationBeanSPI> |
Edits.getAddAnnotationBean(AnnotationAssertion<T> annotationAssertion,
AnnotationBeanSPI annotationBean)
Add an
AnnotationBeanSPI to an AnnotationAssertion |
Edit<?> |
Edits.getAddAnnotationChainEdit(Annotated<?> annotated,
AnnotationBeanSPI annotation)
Returnes an edit that creates an AnnotationAssertion, adds the
AnnotationAssertion to an AnnotationChain and adds the AnnotationChain to
the Annotated.
|
<T extends AnnotationBeanSPI> |
Edits.getAddAnnotationRole(AnnotationAssertion<T> annotationAssertion,
AnnotationRole annotationRole) |
<T extends AnnotationBeanSPI> |
Edits.getAddAnnotationSource(AnnotationAssertion<T> annotationAssertion,
AnnotationSourceSPI annotationSource) |
<T extends AnnotationBeanSPI> |
Edits.getAddCreator(AnnotationAssertion<T> annotationAssertion,
Person person) |
<T extends AnnotationBeanSPI,S extends CurationEventBeanSPI> |
Edits.getAddCurationEvent(AnnotationAssertion<T> annotationAssertion,
CurationEvent<S> curationEvent) |
Edit<Dataflow> |
Edits.getAddDataflowInputPortEdit(Dataflow dataflow,
DataflowInputPort dataflowInputPort)
Returns an edit to add a DataflowInputPort to a Dataflow.
|
Edit<Dataflow> |
Edits.getAddDataflowOutputPortEdit(Dataflow dataflow,
DataflowOutputPort dataflowOutputPort)
Returns an edit to add a DataflowOutputPort to a Dataflow.
|
Edit<DispatchStack> |
Edits.getAddDispatchLayerEdit(DispatchStack stack,
DispatchLayer<?> layer,
int position)
Add a new layer to the specified dispatch stack
|
Edit<IterationStrategyStack> |
Edits.getAddIterationStrategyEdit(IterationStrategyStack iterationStrategyStack,
IterationStrategy iterationStrategy) |
Edit<IterationStrategy> |
Edits.getAddIterationStrategyInputNodeEdit(IterationStrategy iterationStrategy,
NamedInputPortNode namedInputPortNode) |
Edit<Dataflow> |
Edits.getAddMergeEdit(Dataflow dataflow,
Merge processor) |
Edit<Merge> |
Edits.getAddMergeInputPortEdit(Merge merge,
MergeInputPort mergeInputPort)
Returns an edit to add a MergeInputPort to a Merge.
|
Edit<Dataflow> |
Edits.getAddProcessorEdit(Dataflow dataflow,
Processor processor)
Provides an edit object responsible for adding a Processor to a Dataflow
|
Edit<Processor> |
Edits.getAddProcessorInputPortEdit(Processor processor,
ProcessorInputPort port)
Provides an Edit to add an input port a processor, creating matching
ports in the iteration strategy or strategies as a side effect.
|
Edit<Processor> |
Edits.getAddProcessorOutputPortEdit(Processor processor,
ProcessorOutputPort port)
Provides an Edit to add a new output port on a processor
|
Edit<DataflowInputPort> |
Edits.getChangeDataflowInputPortDepthEdit(DataflowInputPort dataflowInputPort,
int depth)
Returns an edit to change the depth of a DataflowInputPort.
|
Edit<DataflowInputPort> |
Edits.getChangeDataflowInputPortGranularDepthEdit(DataflowInputPort dataflowInputPort,
int granularDepth)
Returns an edit to change the granular depth of a DataflowInputPort.
|
Edit<IterationStrategyStack> |
Edits.getClearIterationStrategyStackEdit(IterationStrategyStack iterationStrategyStack) |
<ConfigurationBean> |
Edits.getConfigureActivityEdit(Activity<ConfigurationBean> activity,
ConfigurationBean configurationBean)
Returns an Edit that is responsible for configuring an Activity with a
given configuration bean.
|
<ConfigurationType> |
Edits.getConfigureEdit(Configurable<ConfigurationType> configurable,
ConfigurationType configBean)
Return an Edit that can configure a
Configurable (such as an
Activity or DispatchLayer with a given configuration
bean. |
Edit<Datalink> |
Edits.getConnectDatalinkEdit(Datalink datalink)
Connect a datalink to its source and sink.
|
Edit<Merge> |
Edits.getConnectMergedDatalinkEdit(Merge merge,
EventForwardingOutputPort sourcePort,
EventHandlingInputPort sinkPort)
Creates and returns an instance of an Edit
|
Edit<Processor> |
Edits.getConnectProcessorOutputEdit(Processor processor,
String outputPortName,
EventHandlingInputPort targetPort)
Connect the output port of the specified processor to a target input
port.
|
Edit<OrderedPair<Processor>> |
Edits.getCreateConditionEdit(Processor control,
Processor target)
Create a condition governing execution of the target processor.
|
Edit<Dataflow> |
Edits.getCreateDataflowInputPortEdit(Dataflow dataflow,
String portName,
int portDepth,
int granularDepth)
Add an input port to a dataflow.
|
Edit<Dataflow> |
Edits.getCreateDataflowOutputPortEdit(Dataflow dataflow,
String portName)
Add an output port to a dataflow.
|
Edit<Processor> |
Edits.getDefaultDispatchStackEdit(Processor processor)
Provides an edit that setup the default dispatch stack on a raw
processor.
|
Edit<DispatchStack> |
Edits.getDeleteDispatchLayerEdit(DispatchStack stack,
DispatchLayer<?> layer)
Remove a dispatch layer from its dispatch stack
|
Edit<Datalink> |
Edits.getDisconnectDatalinkEdit(Datalink datalink)
Disconnect a datalink from its source and sink.
|
Edit<Processor> |
Edits.getMapProcessorPortsForActivityEdit(Processor processor)
Provides an edit that will configure the processors ports to map to those
of its internal Activity.
|
Edit<Processor> |
Edits.getRemoveActivityEdit(Processor processor,
Activity<?> activity)
Returns an edit to remove an Activity from a Processor
|
Edit<Activity<?>> |
Edits.getRemoveActivityInputPortEdit(Activity<?> activity,
ActivityInputPort activityInputPort)
Returns an edit to remove an ActivityInputPort from an Activity.
|
Edit<Activity<?>> |
Edits.getRemoveActivityInputPortMappingEdit(Activity<?> activity,
String processorPortName)
Returns an edit to remove a ProcessorInputPort to ActivityInputPort
mapping from an Activity.
|
Edit<Activity<?>> |
Edits.getRemoveActivityOutputPortEdit(Activity<?> activity,
ActivityOutputPort activityOutputPort)
Returns an edit to remove an OutputPort from an Activity.
|
Edit<Activity<?>> |
Edits.getRemoveActivityOutputPortMappingEdit(Activity<?> activity,
String processorPortName)
Returns an edit to remove a ProcessorOutputPort to OutputPort mapping
from an Activity.
|
Edit<OrderedPair<Processor>> |
Edits.getRemoveConditionEdit(Processor control,
Processor target)
Remove a condition previously applied to the specified pair of Processor
instances
|
Edit<Dataflow> |
Edits.getRemoveDataflowInputPortEdit(Dataflow dataflow,
DataflowInputPort dataflowInputPort)
Returns an edit to remove a DataflowInputPort from a Dataflow.
|
Edit<Dataflow> |
Edits.getRemoveDataflowOutputPortEdit(Dataflow dataflow,
DataflowOutputPort dataflowOutputPort)
Returns an edit to remove a DataflowOutputPort from a Dataflow.
|
Edit<Dataflow> |
Edits.getRemoveMergeEdit(Dataflow dataflow,
Merge merge)
Removes a merge from the dataflow.
|
Edit<Dataflow> |
Edits.getRemoveProcessorEdit(Dataflow dataflow,
Processor processor)
Returns an edit to remove a Processor from a Dataflow.
|
Edit<Processor> |
Edits.getRemoveProcessorInputPortEdit(Processor processor,
ProcessorInputPort port)
Removes a Processor input port.
|
Edit<Processor> |
Edits.getRemoveProcessorOutputPortEdit(Processor processor,
ProcessorOutputPort port) |
Edit<DataflowInputPort> |
Edits.getRenameDataflowInputPortEdit(DataflowInputPort dataflowInputPort,
String newName)
Rename a dataflow input port
|
Edit<DataflowOutputPort> |
Edits.getRenameDataflowOutputPortEdit(DataflowOutputPort dataflowOutputPort,
String newName)
Rename a dataflow output port
|
Edit<Merge> |
Edits.getRenameMergeEdit(Merge merge,
String newName)
Rename a merge
|
Edit<Processor> |
Edits.getRenameProcessorEdit(Processor processor,
String newName)
Rename a processor
|
Edit<Merge> |
Edits.getReorderMergeInputPortsEdit(Merge merge,
List<MergeInputPort> reorderedMergeInputPortList)
Returns an edit to reorder the list of MergeInputPortS in a Merge.
|
Edit<Processor> |
Edits.getSetIterationStrategyStackEdit(Processor processor,
IterationStrategyStack iterationStrategyStack)
Provide an edit that will configure a processors's iteration strategy
stack to the one provided.
|
Edit<Dataflow> |
Edits.getUpdateDataflowInternalIdentifierEdit(Dataflow dataflow,
String newId) |
Edit<Dataflow> |
Edits.getUpdateDataflowNameEdit(Dataflow dataflow,
String newName) |
Modifier and Type | Method and Description |
---|---|
List<Edit<?>> |
CompoundEdit.getChildEdits() |
Constructor and Description |
---|
CompoundEdit(List<Edit<?>> edits)
Create a new compound edit with the specified edits as children.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractActivityEdit<T>
Abstraction of an edit acting on a Activity instance.
|
class |
AbstractDataflowEdit
Abstraction of an edit acting on a Dataflow instance.
|
class |
AbstractDataflowInputPortEdit
Abstraction of an edit acting on a DataflowInputPort instance.
|
class |
AbstractDataflowOutputPortEdit
Abstraction of an edit acting on a DataflowOutputPort instance.
|
class |
AbstractDatalinkEdit
Abstraction of an edit acting on a Datalink instance.
|
class |
AbstractMergeEdit |
class |
AbstractProcessorEdit
Abstraction of an edit acting on a Processor instance.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDispatchLayerEdit
Abstraction of an edit acting on a DispatchLayer instance.
|
Modifier and Type | Method and Description |
---|---|
static Edit<?> |
AnnotationTools.addAnnotation(Annotated<?> annotated,
AnnotationBeanSPI a,
Edits edits) |
static Edit<?> |
Tools.getCreateAndConnectDatalinkEdit(Dataflow dataflow,
EventForwardingOutputPort source,
EventHandlingInputPort sink,
Edits edits)
Creates an Edit that creates a Datalink between a source and sink port
and connects the Datalink.
|
static Edit<?> |
Tools.getCreateAndConnectDatalinkEdit(Dataflow dataflow,
OutputPort outputPort,
InputPort inputPort,
Edits edits)
Get an
Edit that will link the given output port to the given
input port. |
static Edit<?> |
Tools.getDisconnectDatalinkAndRemovePortsEdit(Datalink datalink,
Edits edits) |
static Edit<?> |
Tools.getEnableDisabledActivityEdit(Processor processor,
DisabledActivity disabledActivity,
Edits edits) |
static Edit<?> |
Tools.getMoveDatalinkSinkEdit(Dataflow dataflow,
Datalink datalink,
EventHandlingInputPort sink,
Edits edits) |
static Edit<?> |
Tools.getRemoveProcessorInputPortEdit(ProcessorInputPort port,
Edits edits) |
static Edit<?> |
Tools.getRemoveProcessorOutputPortEdit(ProcessorOutputPort port,
Edits edits) |
static Edit<?> |
AnnotationTools.setAnnotationString(Annotated<?> annotated,
Class<?> c,
String value,
Edits edits) |
Modifier and Type | Method and Description |
---|---|
protected static EventHandlingInputPort |
Tools.findEventHandlingInputPort(List<Edit<?>> editList,
Dataflow dataflow,
InputPort inputPort,
Edits edits)
Find (and possibly create) an EventHandlingInputPort.
|
protected static EventForwardingOutputPort |
Tools.findEventHandlingOutputPort(List<Edit<?>> editList,
Dataflow dataflow,
OutputPort outputPort,
Edits edits)
Find (and possibly create) an EventForwardingOutputPort.
|
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.