{
properties.setProperty(EventProcessingOption.PROPERTY_NAME, EventProcessingOption.CLOUD.getMode());
}
Boolean multithreadEvaluation = ruleInfo.getMultithreadEvaluation();
if (multithreadEvaluation != null) {
MultithreadEvaluationOption meo = multithreadEvaluation.booleanValue() ? MultithreadEvaluationOption.YES : MultithreadEvaluationOption.NO;
properties.setProperty(MultithreadEvaluationOption.PROPERTY_NAME, meo.name());
// only pertinent if multithreadEvaluation == true
Integer maxThreads = ruleInfo.getMaxThreads();
if (maxThreads != null) {
properties.setProperty(MaxThreadsOption.PROPERTY_NAME, maxThreads.toString());
}