Class FlowDefinitionResource

java.lang.Object
org.springframework.webflow.config.FlowDefinitionResource

public class FlowDefinitionResource extends Object
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 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 id
      path - the location of the resource
      attributes - meta-attributes describing the flow resource
  • Method Details

    • getId

      public String 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

      public AttributeMap<Object> getAttributes()
      Returns attributes to assign the flow definition.
      Returns:
      flow definition attributes
    • toString

      public String toString()
      Overrides:
      toString in class Object