Class AbstractNodeWorkflowComponent

java.lang.Object
org.ametys.plugins.workflow.AbstractWorkflowComponent
org.ametys.plugins.workspaces.workflow.AbstractNodeWorkflowComponent
All Implemented Interfaces:
LogEnabled, Serviceable
Direct Known Subclasses:
AddEventFunction

Abstract class for easily retrieving environment components in a condition or a function and especially a resource.
  • Field Details

    • EXPLORERNODE_KEY

      public static final String EXPLORERNODE_KEY
      Constant for storing the content into the transient variables map.
  • Constructor Details

  • Method Details

    • getExplorerNode

      protected ExplorerNode getExplorerNode(Map transientVars) throws com.opensymphony.workflow.WorkflowException
      Retrieve the resource associated with the workflow.
      Parameters:
      transientVars - the parameters from the call.
      Returns:
      the resource.
      Throws:
      com.opensymphony.workflow.WorkflowException - if the resource is not found.