public class ParameterLoaderCommandListener extends java.lang.Object implements CommandListener
| Modifier | Constructor and Description |
|---|---|
protected |
ParameterLoaderCommandListener(ParameterLoaderCommandExecutionTask task,
java.lang.Object commandId)
Constrói um
ParameterLoaderCommandListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyCommand(csbase.logic.CommandNotification data)
Notifica o término da execução do comando.
|
boolean |
shouldRemove()
Indica se o listener deve ser removido do
CommandNotificationHandler após a notificação. |
protected ParameterLoaderCommandListener(ParameterLoaderCommandExecutionTask task, java.lang.Object commandId)
ParameterLoaderCommandListener.task - a tarefa que vai submeter o comando do carregamento.commandId - o identificador do comando do carregamento que se deseja
observar.public void notifyCommand(csbase.logic.CommandNotification data)
CommandNotificationData pode ser instância de:
CommandEndNotificationData, ou
CommandFailedNotificationData, ou
CommandKilledNotificationData, ou
CommandLostNotificationData.notifyCommand in interface CommandListenerdata - o dado de notificação.public boolean shouldRemove()
CommandNotificationHandler após a notificação.shouldRemove in interface CommandListenerCopyright © 2016. All Rights Reserved.