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, setSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeTasks
setNotificationListener, setSettings
getTasksInProgress, isTaskInProgress
public 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.RemoteException
ExternalSystemException
public boolean cancelTask(ExternalSystemTaskId id) throws java.rmi.RemoteException, ExternalSystemException
ExternalSystemTaskAware
cancelTask
in interface ExternalSystemTaskAware
cancelTask
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