Class AmetysObjectCurrentStepCondition

java.lang.Object
org.ametys.plugins.workflow.AbstractWorkflowComponent
org.ametys.plugins.workflow.component.AmetysObjectCurrentStepCondition
All Implemented Interfaces:
com.opensymphony.workflow.Condition, LogEnabled, Serviceable
Direct Known Subclasses:
ContentCurrentStepCondition

public class AmetysObjectCurrentStepCondition extends AbstractWorkflowComponent implements com.opensymphony.workflow.Condition
OSWorkflow condition to test the current step of an Ametys object The following configuration have to be used:
 <condition type="avalon">
   <arg name="role">org.ametys.plugins.workflow.component.AmetysObjectCurrentStepCondition</arg>
   <arg name="object-key">content</arg>
   <arg name="step">2</arg>
 </condition>