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, setSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetNotificationListener, setSettingsgetTasksInProgress, isTaskInProgresspublic 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>ExternalSystemExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionjava.rmi.RemoteExceptionpublic boolean cancelTask(ExternalSystemTaskId id) throws ExternalSystemException, java.lang.IllegalArgumentException, java.lang.IllegalStateException, java.rmi.RemoteException
ExternalSystemTaskAwarecancelTask in interface ExternalSystemTaskAwareid - target task's idtrue if a task was successfully canceled;
false otherwisejava.rmi.RemoteException - as required by RMIExternalSystemExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateException