public interface DispatchStack extends Annotated<DispatchStack>, WorkflowItem
Modifier and Type | Method and Description |
---|---|
List<DispatchLayer<?>> |
getLayers()
The DispatchStack consists of an ordered list of DispatchLayer instances
where the DispatchLayer at index zero is at the bottom of the stack and
is almost always an invocation layer of some kind (in any working
dispatch stack configuration)
|
Processor |
getProcessor()
The dispatch stack is contained within a processor, this can be null if
the stack is being used out of this context but layers may be relying on
this link to get information about the processor input ports and their
annotations for various reasons.
|
DispatchLayer<?> |
layerAbove(DispatchLayer<?> layer)
Return the layer above (lower index!) the specified layer, or a reference
to the internal top layer dispatch layer if there is no layer above the
specified one.
|
DispatchLayer<?> |
layerBelow(DispatchLayer<?> layer)
Return the layer below (higher index) the specified layer, or null if
there is no layer below this one.
|
void |
receiveMonitorableProperty(MonitorableProperty<?> prop,
String processID)
The dispatch stack acts as an aggregator for monitorable properties
exposed by the dispatch layers.
|
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
@HierarchyTraversal(hierarchies="workflowStructure", role=CHILD) List<DispatchLayer<?>> getLayers()
@HierarchyTraversal(hierarchies="workflowStructure", role=PARENT) Processor getProcessor()
DispatchLayer<?> layerAbove(DispatchLayer<?> layer)
The top layer within the dispatch stack is always invisible and is held within the DispatchStackImpl object itself, being used to route data out of the entire stack
layer
- DispatchLayer<?> layerBelow(DispatchLayer<?> layer)
layer
- void receiveMonitorableProperty(MonitorableProperty<?> prop, String processID)
prop
- processID
- Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.