public Command newQuery(String identifier, String name, Object[] arguments) {
return new QueryCommand(identifier, name, arguments);
}
public Command newBatchExecution(List<? extends Command> commands) {
return new BatchExecutionImpl(
(List<org.drools.process.command.Command>) commands);
}