Calculate Measure based on the script to PA

https://sourceforge.net/tracker/?func=detail&aid=2905227&group_id=176962&atid=879335
This commit is contained in:
vpj-cd 2009-11-28 18:29:03 +00:00
parent 3acb327d90
commit 41847eff82
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ public class MMeasure extends X_PA_Measure
log.log(Level.SEVERE, retValue);
break;
}
if ( ! (rule.getEventType().equals(MRule.EVENTTYPE_ModelValidatorTableEvent)
if ( ! (rule.getEventType().equals(MRule.EVENTTYPE_MeasureForPerformanceAnalysis)
&& rule.getRuleType().equals(MRule.RULETYPE_JSR223ScriptingAPIs))) {
retValue = "Script " + cmd
+ " must be of type JSR 223 and event measure";