public class ExternalSystemProgressNotificationManagerImpl extends RemoteObject implements ExternalSystemProgressNotificationManager, RemoteExternalSystemProgressNotificationManager
NULL_OBJECT| Constructor and Description |
|---|
ExternalSystemProgressNotificationManagerImpl() |
export, export2, getExportedChildren, getWeakRef, isKnownException, unexportChildren, unexportChildren, unreferenced, wrapExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstancepublic ExternalSystemProgressNotificationManagerImpl()
public static ExternalSystemProgressNotificationManagerImpl getInstanceImpl()
public boolean addNotificationListener(ExternalSystemTaskNotificationListener listener)
ExternalSystemProgressNotificationManageraddNotificationListener in interface ExternalSystemProgressNotificationManagerlistener - listener to registertrue if given listener was not registered before for the given key;
false otherwisepublic boolean addNotificationListener(ExternalSystemTaskId taskId, ExternalSystemTaskNotificationListener listener)
ExternalSystemProgressNotificationManageraddNotificationListener in interface ExternalSystemProgressNotificationManagertaskId - target task's idlistener - listener to registertrue if given listener was not registered before for the given key;
false otherwisepublic boolean removeNotificationListener(ExternalSystemTaskNotificationListener listener)
ExternalSystemProgressNotificationManagerremoveNotificationListener in interface ExternalSystemProgressNotificationManagerlistener - listener to de-registertrue if given listener was successfully de-registered;
false if given listener was not registered beforepublic void onStart(ExternalSystemTaskId id, java.lang.String workingDir)
onStart in interface RemoteExternalSystemProgressNotificationManagerpublic void onStatusChange(ExternalSystemTaskNotificationEvent event)
onStatusChange in interface RemoteExternalSystemProgressNotificationManagerpublic void onTaskOutput(ExternalSystemTaskId id, java.lang.String text, boolean stdOut)
onTaskOutput in interface RemoteExternalSystemProgressNotificationManagerpublic void onEnd(ExternalSystemTaskId id)
onEnd in interface RemoteExternalSystemProgressNotificationManagerpublic void onSuccess(ExternalSystemTaskId id)
onSuccess in interface RemoteExternalSystemProgressNotificationManagerpublic void onFailure(ExternalSystemTaskId id, java.lang.Exception e)
onFailure in interface RemoteExternalSystemProgressNotificationManagerpublic void beforeCancel(ExternalSystemTaskId id)
beforeCancel in interface RemoteExternalSystemProgressNotificationManagerpublic void onCancel(ExternalSystemTaskId id)
onCancel in interface RemoteExternalSystemProgressNotificationManager