for (Integer opNum : operatorBuildOrder) {
Pair<Object, Boolean> operatorStatePair = operators.get(opNum);
if (operatorStatePair.getFirst() instanceof DataFlowOpLifecycle) {
try {
DataFlowOpLifecycle lf = (DataFlowOpLifecycle) operatorStatePair.getFirst();
lf.open(new DataFlowOpOpenContext());
}
catch (RuntimeException ex) {
throw new EPDataFlowExecutionException("Exception encountered opening data flow 'FlowOne' in operator " + operatorStatePair.getFirst().getClass().getSimpleName() + ": " + ex.getMessage(), ex, dataFlowName);
}
}