Class ConnectionConfigurationAbtract
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
- Direct Known Subclasses:
ConnectionAbstract,XmlDataImporter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected static ThreadLocal<org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract.ConnectionInformation>protected Stringprotected booleanprotected StringFields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ActionContext context) getUser()protected StringinputBrokerURL(String defaultValue) protected StringinputPassword(String password) protected Stringprotected voidprotected voidsaveConnectionInfo(String brokerURL, String user, String password) setAcceptor(String acceptor) voidsetBrokerURL(String brokerURL) setPassword(String password) Methods inherited from class org.apache.activemq.artemis.cli.commands.InputAbstract
enableInput, input, input, inputBoolean, inputInteger, inputPassword, isSilentInput, setSilentInputMethods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
done, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Field Details
-
brokerURL
-
acceptor
-
user
-
password
-
silent
protected boolean silent -
CONNECTION_INFORMATION
protected static ThreadLocal<org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract.ConnectionInformation> CONNECTION_INFORMATION
-
-
Constructor Details
-
ConnectionConfigurationAbtract
public ConnectionConfigurationAbtract()
-
-
Method Details
-
getBrokerURL
-
setBrokerURL
-
getAcceptor
-
setAcceptor
-
getUser
-
setUser
-
getPassword
-
setPassword
-
execute
- Specified by:
executein interfaceAction- Overrides:
executein classInputAbstract- Throws:
Exception
-
recoverConnectionInformation
protected void recoverConnectionInformation() -
saveConnectionInfo
-
inputBrokerURL
-
inputUser
-
inputPassword
-