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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user