Class FlowDefinitionResource
java.lang.Object
org.springframework.webflow.config.FlowDefinitionResource
An abstract representation of an externalized flow definition resource. Holds the data necessary to build a flow
definition from an external file, and register the flow definition in a flow definition registry.
Flow definition resources are created by a
FlowDefinitionResourceFactory
.- Author:
- Keith Donald
- See Also:
-
Constructor Summary
ConstructorDescriptionFlowDefinitionResource
(String flowId, org.springframework.core.io.Resource path, AttributeMap<Object> attributes) Creates a new flow definition resource -
Method Summary
-
Constructor Details
-
FlowDefinitionResource
public FlowDefinitionResource(String flowId, org.springframework.core.io.Resource path, AttributeMap<Object> attributes) Creates a new flow definition resource- Parameters:
flowId
- the flow idpath
- the location of the resourceattributes
- meta-attributes describing the flow resource
-
-
Method Details
-
getId
Returns the identifier to be assigned to the flow definition.- Returns:
- the flow definition identifier
-
getPath
public org.springframework.core.io.Resource getPath()Returns the path to the flow definition resource.- Returns:
- the path location
-
getAttributes
Returns attributes to assign the flow definition.- Returns:
- flow definition attributes
-
toString
-