public class ExternalSystemTaskManagerWrapper<S extends ExternalSystemExecutionSettings> extends AbstractRemoteExternalSystemServiceWrapper<S,RemoteExternalSystemTaskManager<S>> implements RemoteExternalSystemTaskManager<S>
NULL_OBJECT| Constructor and Description |
|---|
ExternalSystemTaskManagerWrapper(RemoteExternalSystemTaskManager<S> delegate,
RemoteExternalSystemProgressNotificationManager progressManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelTask(ExternalSystemTaskId id)
Allows to cancel the target task by the current service.
|
void |
executeTasks(ExternalSystemTaskId id,
java.util.List<java.lang.String> taskNames,
java.lang.String projectPath,
S settings,
java.lang.String jvmParametersSetup) |
getDelegate, getTasksInProgress, isTaskInProgress, setNotificationListener, setSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteTaskssetNotificationListener, setSettingsgetTasksInProgress, isTaskInProgresspublic ExternalSystemTaskManagerWrapper(RemoteExternalSystemTaskManager<S> delegate, RemoteExternalSystemProgressNotificationManager progressManager)
public 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
executeTasks in interface RemoteExternalSystemTaskManager<S extends ExternalSystemExecutionSettings>java.rmi.RemoteExceptionExternalSystemExceptionpublic boolean cancelTask(ExternalSystemTaskId id) throws java.rmi.RemoteException, ExternalSystemException
ExternalSystemTaskAwarecancelTask in interface ExternalSystemTaskAwarecancelTask in interface RemoteExternalSystemTaskManager<S extends ExternalSystemExecutionSettings>id - target task's idtrue if a task was successfully canceled;
false otherwisejava.rmi.RemoteException - as required by RMIExternalSystemException