You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2011/06/30 00:11:38 UTC

svn commit: r1141279 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/eca/EntityEcaRule.java

Author: doogie
Date: Wed Jun 29 22:11:38 2011
New Revision: 1141279

URL: http://svn.apache.org/viewvc?rev=1141279&view=rev
Log:
FEATURE: Expose several of the internal variables thru bean accessors.

Modified:
    ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/eca/EntityEcaRule.java

Modified: ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/eca/EntityEcaRule.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/eca/EntityEcaRule.java?rev=1141279&r1=1141278&r2=1141279&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/eca/EntityEcaRule.java (original)
+++ ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/eca/EntityEcaRule.java Wed Jun 29 22:11:38 2011
@@ -86,6 +86,22 @@ public final class EntityEcaRule impleme
         }
     }
 
+    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);