public interface RemoteExternalSystemTaskManager<S extends ExternalSystemExecutionSettings> extends RemoteExternalSystemService<S>
Modifier and Type | Field and Description |
---|---|
static RemoteExternalSystemTaskManager<ExternalSystemExecutionSettings> |
NULL_OBJECT
|
Modifier and Type | Method and Description |
---|---|
boolean |
cancelTask(ExternalSystemTaskId id)
Allows to cancel the target task by the current service.
|
default void |
executeTasks(ExternalSystemTaskId id,
java.util.List<java.lang.String> taskNames,
java.lang.String projectPath,
S settings,
java.util.List<java.lang.String> vmOptions,
java.util.List<java.lang.String> scriptParameters,
java.lang.String jvmParametersSetup)
|
default void |
executeTasks(ExternalSystemTaskId id,
java.util.List<java.lang.String> taskNames,
java.lang.String projectPath,
S settings,
java.lang.String jvmParametersSetup) |
setNotificationListener, setSettings
getTasksInProgress, isTaskInProgress
static final RemoteExternalSystemTaskManager<ExternalSystemExecutionSettings> NULL_OBJECT
@Deprecated default void executeTasks(ExternalSystemTaskId id, java.util.List<java.lang.String> taskNames, java.lang.String projectPath, S settings, java.util.List<java.lang.String> vmOptions, java.util.List<java.lang.String> scriptParameters, java.lang.String jvmParametersSetup) throws java.rmi.RemoteException, ExternalSystemException
executeTasks(ExternalSystemTaskId, List, String, ExternalSystemExecutionSettings, String)
java.rmi.RemoteException
ExternalSystemException
default void executeTasks(ExternalSystemTaskId id, java.util.List<java.lang.String> taskNames, java.lang.String projectPath, S settings, java.lang.String jvmParametersSetup) throws java.rmi.RemoteException, ExternalSystemException
java.rmi.RemoteException
ExternalSystemException
boolean cancelTask(ExternalSystemTaskId id) throws java.rmi.RemoteException, ExternalSystemException
ExternalSystemTaskAware
cancelTask
in interface ExternalSystemTaskAware
id
- target task's idtrue
if a task was successfully canceled;
false
otherwisejava.rmi.RemoteException
- as required by RMIExternalSystemException