public class ServerDiagnostic extends Application
| Modifier and Type | Field and Description |
|---|---|
static String |
ID
Identificador do aplicativo.
|
PREFERENCE_MESSAGE, PROJECT_FILE_MESSAGE| Constructor and Description |
|---|
ServerDiagnostic(String id)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
ServerDiagnosticUpdateTask |
getTask()
Obtém a tarefa que requisita as informações de diagnóstico ao servidor.
|
void |
killApplication()
Método para encerramento da execução, que pode ser redefinido para
comportamentos próprios da aplicações.
|
protected boolean |
userCanKillApplication()
Método de kill pelo usuário é específico do desktop applications
|
addPreferenceListener, addWindow, buildApplicationFrame, buildApplicationImage, closeDependentWindows, finishApplication, getApplicationCommand, getApplicationCommandDir, getApplicationFrame, getApplicationProject, getClassString, getClassString, getDesktopFrame, getLocale, getPreferences, getResource, getResourceBundle, getStatusBar, getString, getString, handleError, hasClassString, hasString, isConnectedToServer, isVisible, logDetailedApplicationEvent, removeAllPreferenceListeners, removeWindow, savePreferences, setInitialFrameState, setVisible, showError, showError, showException, showExceptionStack, showInformation, showInformation, showMessage, showMessage, showOptionDialog, showOptionDialog, showWarning, showWarning, startApplicationcloseApplication, getApplicationRegistry, getApplicationResourceAsStream, getApplicationResourceAsStream, getApplicationResourceAsURL, getApplicationResourceAsURL, getAuthorMail, getAuthorName, getBooleanSpecificProperty, getDescription, getDoubleSpecificProperty, getFileTypes, getId, getImageIcon, getImageIcon, getImageIcon, getInstanceId, getInstanceIndex, getIntSpecificProperty, getLongSpecificProperty, getLongSpecificProperty, getMainApplicationClass, getName, getStringListSpecificProperty, getStringSpecificProperty, getVersion, getVersionNumber, launchApplication, postInitialization, sendMessageaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic static final String ID
public ServerDiagnostic(String id)
id - identificador da aplicaçãopublic ServerDiagnosticUpdateTask getTask()
public void killApplication()
throws ApplicationException
killApplication in class ApplicationApplicationException - em caso de erro no fechamento da applicação.protected boolean userCanKillApplication()
userCanKillApplication in class ApplicationTypeCopyright © 2018. All rights reserved.