Class PlantUmlMindMapStepSVGReader

All Implemented Interfaces:
Poolable, Recyclable, Component, LogEnabled, Serviceable, Reader, SitemapModelComponent, SitemapOutputComponent

Read step mindMap from plantUML
  • Constructor Details

  • Method Details

    • _getPlantUMLStyle

      Description copied from class: AbstractPlantUMLSVGReader
      Get plantUML style for current diagram
      Specified by:
      _getPlantUMLStyle in class AbstractPlantUMLSVGReader
      Returns:
      the style as string
    • _getPlantUMLGraphContent

      protected String _getPlantUMLGraphContent(Request request, com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor)
      Description copied from class: AbstractPlantUMLSVGReader
      Get the plantUML diagram body
      Specified by:
      _getPlantUMLGraphContent in class AbstractPlantUMLSVGReader
      Parameters:
      request - the request
      workflowDescriptor - descriptor of current workflow
      Returns:
      the diagram body as string
    • _getIncomingActions

      protected Set<com.opensymphony.workflow.loader.ActionDescriptor> _getIncomingActions(int stepId, com.opensymphony.workflow.loader.WorkflowDescriptor workflow)
      Get a set of actions incoming to current step
      Parameters:
      stepId - id of current step
      workflow - current workflow
      Returns:
      the set of outgoing actions
    • _getOutgoingActions

      protected List<com.opensymphony.workflow.loader.ActionDescriptor> _getOutgoingActions(int stepId, com.opensymphony.workflow.loader.WorkflowDescriptor workflow)
      Get a list of actions outgoing from current step
      Parameters:
      stepId - id of current step
      workflow - current workflow
      Returns:
      the list of outgoing actions
    • _getFirstParentStepId

      protected String _getFirstParentStepId(int stepId, List<com.opensymphony.workflow.loader.StepDescriptor> steps, Integer actionId)
      Get id of the first step having current action, INITIAL_STEP_ID if current action is an initial action
      Parameters:
      stepId - id of current step
      steps - list of all the steps in current workflow
      actionId - id of current action
      Returns:
      the id of the first found step having current action
    • _getIncomingActionsFromList

      protected Set<com.opensymphony.workflow.loader.ActionDescriptor> _getIncomingActionsFromList(int stepId, List<com.opensymphony.workflow.loader.ActionDescriptor> actions)
      Get a set of incoming actions if present in actions list
      Parameters:
      stepId - id of current step
      actions - list of other step's actions
      Returns:
      a list containing other step's outgoing actions that are incoming to current step