IRuleMatcher

interface OCP\WorkflowEngine\IRuleMatcher
Class IRuleMatcher
Source:lib/public/WorkflowEngine/IRuleMatcher.php#37
Parent:OCP\WorkflowEngine\IFileCheck

Methods

public OCP\WorkflowEngine\IRuleMatcher::getMatchingOperations($class, $returnFirstMatchingOperationOnly=true)
This method is left for backwards compatibility and easier porting of
apps. Please use ‘getFlows’ instead (and setOperation if you implement
an IComplexOperation).
Source:lib/public/WorkflowEngine/IRuleMatcher.php#46
Since:18.0.0
Deprecated:18.0.0
public OCP\WorkflowEngine\IRuleMatcher::getFlows($returnFirstMatchingOperationOnly=true)
Source:lib/public/WorkflowEngine/IRuleMatcher.php#52
Throws:\RuntimeException
Since:18.0.0
public OCP\WorkflowEngine\IRuleMatcher::setOperation($operation)
this method can only be called once and is typically called by the
Flow engine, unless for IComplexOperations.
Source:lib/public/WorkflowEngine/IRuleMatcher.php#61
Throws:\RuntimeException
Since:18.0.0
public OCP\WorkflowEngine\IRuleMatcher::setEntity($entity)
this method can only be called once and is typically called by the
Flow engine, unless for IComplexOperations.
Source:lib/public/WorkflowEngine/IRuleMatcher.php#70
Throws:\RuntimeException
Since:18.0.0
public OCP\WorkflowEngine\IRuleMatcher::getEntity()
returns the entity which might provide more information, depending on
the interfaces it implements
Source:lib/public/WorkflowEngine/IRuleMatcher.php#79
Returns:\OCP\WorkflowEngine\IEntity
Since:18.0.0
public OCP\WorkflowEngine\IRuleMatcher::setEventName($eventName)
this method can be called once to set the event name that is currently
being processed. The workflow engine takes care of this usually, only an
IComplexOperation might want to make use of it.
Source:lib/public/WorkflowEngine/IRuleMatcher.php#89
Throws:\RuntimeException
Since:20.0.0