public interface FlowDefinitionLocator
id
. Flow locators are needed
by flow executors at runtime to retrieve fully-configured flow definitions to support launching new flow executions.Modifier and Type | Method and Description |
---|---|
FlowDefinition |
getFlowDefinition(java.lang.String id)
Lookup the flow definition with the specified id.
|
FlowDefinition getFlowDefinition(java.lang.String id) throws NoSuchFlowDefinitionException, FlowDefinitionConstructionException
id
- the flow definition identifierNoSuchFlowDefinitionException
- when the flow definition with the specified id does not existFlowDefinitionConstructionException
- if there is a problem constructing the identified flow definition