org.ofbiz.service.eca
Class ServiceEcaRule
java.lang.Object
org.ofbiz.service.eca.ServiceEcaRule
- All Implemented Interfaces:
- java.io.Serializable
public class ServiceEcaRule
- extends java.lang.Object
- implements java.io.Serializable
ServiceEcaRule
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
serviceName
protected java.lang.String serviceName
eventName
protected java.lang.String eventName
runOnFailure
protected boolean runOnFailure
runOnError
protected boolean runOnError
conditions
protected java.util.List<ServiceEcaCondition> conditions
actionsAndSets
protected java.util.List<java.lang.Object> actionsAndSets
enabled
protected boolean enabled
definitionLocation
protected java.lang.String definitionLocation
ServiceEcaRule
protected ServiceEcaRule()
ServiceEcaRule
public ServiceEcaRule(org.w3c.dom.Element eca,
java.lang.String definitionLocation)
getShortDisplayName
public java.lang.String getShortDisplayName()
getServiceName
public java.lang.String getServiceName()
getEventName
public java.lang.String getEventName()
getDefinitionLocation
public java.lang.String getDefinitionLocation()
getEcaActionList
public java.util.List<ServiceEcaAction> getEcaActionList()
getEcaConditionList
public java.util.List<ServiceEcaCondition> getEcaConditionList()
eval
public void eval(java.lang.String serviceName,
DispatchContext dctx,
java.util.Map<java.lang.String,java.lang.Object> context,
java.util.Map<java.lang.String,java.lang.Object> result,
boolean isError,
boolean isFailure,
java.util.Set<java.lang.String> actionsRun)
throws GenericServiceException
- Throws:
GenericServiceException
setEnabled
public void setEnabled(boolean enabled)
isEnabled
public boolean isEnabled()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object