de.esprit.netsuite.client.admin.action

## Class ServerShutdownAction

- java.lang.Object
- - javax.swing.AbstractAction
  - - de.esprit.common.gui.ZAction<C>
    - - de.esprit.netsuite.client.gui.action.ClientAction<C>
      - - de.esprit.netsuite.client.gui.action.AgentAction<ClientContext,ServerShutdownAgent>
        - - de.esprit.netsuite.client.admin.action.ServerShutdownAction

- All Implemented Interfaces:
    ApplicationObject<ClientContext>, CancellableTask, ErrorHandlerSupport, SimpleLogSupport, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

      public class ServerShutdownAction
      extends AgentAction<ClientContext,ServerShutdownAgent>

  This action performs a server shutdown. All clients will be killed by the server
  Author:
    Rainer Buesch
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class javax.swing.AbstractAction

      `changeSupport, enabled`

    - ### Fields inherited from interface javax.swing.Action

      `ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerShutdownAction(ClientContext clientCtx)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `actionConfirmed()` Can be overridden to pop up a ConfirmDialog.
    `protected ServerShutdownAgent` | `createInputAgent()` Creates the input agent to be sent to the server for execution.

    - ### Methods inherited from class de.esprit.netsuite.client.gui.action.AgentAction

      `actionFired, agentFailed, agentSucceeded, cancel, handleBlockingTimeout, setBlockingTimeout, wasCancelled`

    - ### Methods inherited from class de.esprit.netsuite.client.gui.action.ClientAction

      `actionFailed, checkEnableCondition, getClientContext, getSessionId, isConnectionSensitive, isLoggedIn, isOffline, isOnline, setConnectionSensitive`

    - ### Methods inherited from class de.esprit.common.gui.ZAction

      `actionDenied, actionPerformed, actionPrepare, actionSucceeded, fire, getApplicationContext, getButtonText, getIcon, getLogChannel, getMenuText, getName, getPressedIcon, getTipText, isForced, isHandleError, isLogDebug, isLogVerbose, isPermitted, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, performAvailabilityCheck, setBusyAnimationEnabled, setHandleError, setIcon, setIcon, setLogChannel, setName, setPressedIcon, setPressedIcon, setText, setTipText, setValidator, showError, showError, showError, showInfo, showInfo, showWarning, showWarning, toString`

    - ### Methods inherited from class javax.swing.AbstractAction

      `addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ServerShutdownAction

          public ServerShutdownAction(ClientContext clientCtx)

  - ### Method Detail

    - #### createInputAgent

          protected ServerShutdownAgent createInputAgent()

      Description copied from class: `AgentAction`
      Creates the input agent to be sent to the server for execution. This agent may be sync or async. An async agent will cause the action to disable until the result agent is received in a message, or the agent is cancelled.
      Specified by:
        `createInputAgent` in class `AgentAction<ClientContext,ServerShutdownAgent>`

    - #### actionConfirmed

          protected boolean actionConfirmed()

      Description copied from class: `ZAction`
      Can be overridden to pop up a ConfirmDialog. If false is returned the action is not fired.
      Overrides:
        `actionConfirmed` in class `ZAction<ClientContext>`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.