Class CheckAbstract
java.lang.Object
org.apache.activemq.artemis.cli.commands.ActionAbstract
org.apache.activemq.artemis.cli.commands.InputAbstract
org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract
org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
org.apache.activemq.artemis.cli.commands.check.CheckAbstract
- Direct Known Subclasses:
NodeCheck, QueueCheck
-
Field Summary
FieldsFields inherited from class ConnectionAbstract
clientID, protocolFields inherited from class ConnectionConfigurationAbtract
acceptor, brokerURL, CONNECTION_INFORMATION, password, silent, userFields inherited from class ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ActionContext context) protected abstract CheckTask[]getName()intvoidvoidsetTimeout(int timeout) Methods inherited from class ConnectionAbstract
createConnectionFactory, createConnectionFactory, createCoreConnectionFactory, createCoreConnectionFactory, getClientID, getProtocol, performCoreManagement, performCoreManagement, setClientID, setProtocol, setProtocol, tryConnectMethods inherited from class ConnectionConfigurationAbtract
getAcceptor, getBrokerURL, getPassword, getUser, inputBrokerURL, inputPassword, inputUser, recoverConnectionInformation, saveConnectionInfo, setAcceptor, setBrokerURL, setPassword, setUserMethods inherited from class InputAbstract
enableInput, input, input, inputBoolean, inputInteger, inputPassword, isSilentInput, setSilentInputMethods inherited from class ActionAbstract
done, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Field Details
-
name
-
-
Constructor Details
-
CheckAbstract
public CheckAbstract()
-
-
Method Details
-
getName
-
setName
-
getTimeout
public int getTimeout() -
setTimeout
public void setTimeout(int timeout) -
execute
- Specified by:
executein interfaceAction- Overrides:
executein classConnectionConfigurationAbtract- Throws:
Exception
-
getCheckTasks
-