public class ExternalSystemProjectResolverWrapper<S extends ExternalSystemExecutionSettings> extends AbstractRemoteExternalSystemServiceWrapper<S,RemoteExternalSystemProjectResolver<S>> implements RemoteExternalSystemProjectResolver<S>
RemoteExternalSystemProjectResolver
and
updates 'queued' task status
.
Thread-safe.NULL_OBJECT
Constructor and Description |
---|
ExternalSystemProjectResolverWrapper(RemoteExternalSystemProjectResolver<S> delegate,
RemoteExternalSystemProgressNotificationManager progressManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelTask(ExternalSystemTaskId id)
Allows to cancel the target task by the current service.
|
DataNode<ProjectData> |
resolveProjectInfo(ExternalSystemTaskId id,
java.lang.String projectPath,
boolean isPreviewMode,
S settings,
ProjectResolverPolicy resolverPolicy) |
getDelegate, getTasksInProgress, isTaskInProgress, setNotificationListener, setSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setNotificationListener, setSettings
getTasksInProgress, isTaskInProgress
public ExternalSystemProjectResolverWrapper(RemoteExternalSystemProjectResolver<S> delegate, RemoteExternalSystemProgressNotificationManager progressManager)
public DataNode<ProjectData> resolveProjectInfo(ExternalSystemTaskId id, java.lang.String projectPath, boolean isPreviewMode, S settings, ProjectResolverPolicy resolverPolicy) throws ExternalSystemException, java.lang.IllegalArgumentException, java.lang.IllegalStateException, java.rmi.RemoteException
resolveProjectInfo
in interface RemoteExternalSystemProjectResolver<S extends ExternalSystemExecutionSettings>
ExternalSystemException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
java.rmi.RemoteException
public boolean cancelTask(ExternalSystemTaskId id) throws ExternalSystemException, java.lang.IllegalArgumentException, java.lang.IllegalStateException, java.rmi.RemoteException
ExternalSystemTaskAware
cancelTask
in interface ExternalSystemTaskAware
id
- target task's idtrue
if a task was successfully canceled;
false
otherwisejava.rmi.RemoteException
- as required by RMIExternalSystemException
java.lang.IllegalArgumentException
java.lang.IllegalStateException