public class FlowModelRegistryImpl extends java.lang.Object implements FlowModelRegistry
| Constructor and Description |
|---|
FlowModelRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
FlowModel |
getFlowModel(java.lang.String id)
Lookup the flow model with the specified id.
|
void |
registerFlowModel(java.lang.String id,
FlowModelHolder modelHolder)
Register a flow model in this registry.
|
void |
setParent(FlowModelRegistry parent)
Sets this registry's parent registry.
|
java.lang.String |
toString() |
public FlowModel getFlowModel(java.lang.String id) throws NoSuchFlowModelException
FlowModelLocatorgetFlowModel in interface FlowModelLocatorid - the flow model identifierNoSuchFlowModelException - when the flow model with the specified id does not existpublic void setParent(FlowModelRegistry parent)
FlowModelRegistrysetParent in interface FlowModelRegistryparent - the parent flow model registry, may be nullpublic void registerFlowModel(java.lang.String id,
FlowModelHolder modelHolder)
FlowModelRegistryregisterFlowModel in interface FlowModelRegistryid - the id to register the flow model undermodelHolder - a holder holding the flow model to registerpublic java.lang.String toString()
toString in class java.lang.Object