Package com.opensymphony.workflow
Interface ConditionRemote
- All Superinterfaces:
Remote
Interface that must be implemented to define a java-based remote condition in your workflow definition.
- Author:
- Patrick Lightbody
-
Method Summary
Modifier and TypeMethodDescriptionbooleanpassesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) Determines if a condition should signal pass or fail.
-
Method Details
-
passesCondition
boolean passesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws RemoteException Determines if a condition should signal pass or fail.- Parameters:
transientVars- Variables that will not be persisted. These include inputs given in theWorkflow.initialize(java.lang.String, int, java.util.Map)andWorkflow.doAction(long, int, java.util.Map)method calls. given in theWorkflow.initialize(java.lang.String, int, java.util.Map)andWorkflow.doAction(long, int, java.util.Map)method calls. There are two special variable names: entry (object type:WorkflowEntry) and context (object type:WorkflowContext). Also, any variable set as aRegister), will also be available in the transient map, no matter what. These transient variables only last through the method call that they were invoked in, such asWorkflow.initialize(java.lang.String, int, java.util.Map)andWorkflow.doAction(long, int, java.util.Map).args- The properties for this function invocation. Properties are created from arg nested elements within the xml, an arg element takes in a name attribute which is the properties key, and the CDATA text contents of the element map to the property value.ps- The persistent variables that are associated with the current instance of the workflow. Any change made to this will be seen on the next function call in the workflow lifetime.- Throws:
RemoteException
-