public <T> T execute(Command<T> command) throws Exception { return api.execute(new SerializedCommand<T>(command)); }
@Override public <T> T execute(final Command<T> command, final ProcessDefinitionUUID processUUID, final Map<String, String> options) throws Exception { return getAPI(options).execute(command, processUUID); }
@Override public <T> T execute(final Command<T> command, final Map<String, String> options) throws Exception { return getAPI(options).execute(command); }
public <T> T execute(Command<T> command) throws Exception { return getAPI().execute(command); } }
public <T> T execute(Command<T> command) throws Exception { return api.execute(new SerializedCommand<T>(command)); }
public <T> T execute(Command<T> command) throws Exception { return api.execute(new SerializedCommand<T>(command)); }
public <T> T execute(Command<T> command, ProcessDefinitionUUID processUUID) throws Exception { return api.execute(new SerializedCommand<T>(command), processUUID); }
public <T> T execute(Command<T> command, ProcessDefinitionUUID processUUID) throws Exception { return api.execute(new SerializedCommand<T>(command), processUUID); }
public Void execute(Environment environment) throws Exception { final APIAccessor accessor = new StandardAPIAccessorImpl(); final CommandAPI api = accessor.getCommandAPI(); for (ProcessDefinitionUUID processUUID : processUUIDs) { api.execute(new WebDeleteProcessCommand(processUUID)); } return null; }
public Void execute(Environment environment) throws Exception { final APIAccessor accessor = new StandardAPIAccessorImpl(); final CommandAPI api = accessor.getCommandAPI(); for (ProcessDefinitionUUID processUUID : processUUIDs) { api.execute(new WebDeleteProcessCommand(processUUID)); } return null; }