public class ExternalSystemProgressNotificationManagerImpl extends RemoteObject implements ExternalSystemProgressNotificationManager, RemoteExternalSystemProgressNotificationManager
NULL_OBJECT
Constructor and Description |
---|
ExternalSystemProgressNotificationManagerImpl() |
export, export2, getExportedChildren, getWeakRef, isKnownException, unexportChildren, unexportChildren, unreferenced, wrapException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance
public ExternalSystemProgressNotificationManagerImpl()
public static ExternalSystemProgressNotificationManagerImpl getInstanceImpl()
public boolean addNotificationListener(ExternalSystemTaskNotificationListener listener)
ExternalSystemProgressNotificationManager
addNotificationListener
in interface ExternalSystemProgressNotificationManager
listener
- listener to registertrue
if given listener was not registered before for the given key;
false
otherwisepublic boolean addNotificationListener(ExternalSystemTaskId taskId, ExternalSystemTaskNotificationListener listener)
ExternalSystemProgressNotificationManager
addNotificationListener
in interface ExternalSystemProgressNotificationManager
taskId
- target task's idlistener
- listener to registertrue
if given listener was not registered before for the given key;
false
otherwisepublic boolean removeNotificationListener(ExternalSystemTaskNotificationListener listener)
ExternalSystemProgressNotificationManager
removeNotificationListener
in interface ExternalSystemProgressNotificationManager
listener
- 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 RemoteExternalSystemProgressNotificationManager
public void onStatusChange(ExternalSystemTaskNotificationEvent event)
onStatusChange
in interface RemoteExternalSystemProgressNotificationManager
public void onTaskOutput(ExternalSystemTaskId id, java.lang.String text, boolean stdOut)
onTaskOutput
in interface RemoteExternalSystemProgressNotificationManager
public void onEnd(ExternalSystemTaskId id)
onEnd
in interface RemoteExternalSystemProgressNotificationManager
public void onSuccess(ExternalSystemTaskId id)
onSuccess
in interface RemoteExternalSystemProgressNotificationManager
public void onFailure(ExternalSystemTaskId id, java.lang.Exception e)
onFailure
in interface RemoteExternalSystemProgressNotificationManager
public void beforeCancel(ExternalSystemTaskId id)
beforeCancel
in interface RemoteExternalSystemProgressNotificationManager
public void onCancel(ExternalSystemTaskId id)
onCancel
in interface RemoteExternalSystemProgressNotificationManager