FEATURE: Expose several of the internal variables thru bean accessors.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2011-06-29 22:11:38 +00:00
parent ee2f15f195
commit 30569f1651
@@ -86,6 +86,22 @@ public final class EntityEcaRule implements java.io.Serializable {
}
}
public String getEntityName() {
return this.entityName;
}
public String getOperationName() {
return this.operationName;
}
public String getEventName() {
return this.eventName;
}
public boolean getRunOnError() {
return this.runOnError;
}
public void eval(String currentOperation, DispatchContext dctx, GenericEntity value, boolean isError, Set<String> actionsRun) throws GenericEntityException {
if (!enabled) {
Debug.logInfo("Entity ECA [" + this.entityName + "] on [" + this.eventName + "] is disabled; not running.", module);