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:
parent
3acb327d90
commit
41847eff82
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue