Class Configurable
- java.lang.Object
-
- org.apache.activemq.artemis.cli.commands.ActionAbstract
-
- org.apache.activemq.artemis.cli.commands.Configurable
-
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
DataAbstract,Kill,Stop
public abstract class Configurable extends ActionAbstract
Abstract class where we can replace the configuration in various places *
-
-
Field Summary
Fields Modifier and Type Field Description io.airlift.airline.model.GlobalMetadataglobal-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description Configurable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.activemq.artemis.dto.BrokerDTOgetBrokerDTO()protected java.lang.StringgetConfiguration()protected org.apache.activemq.artemis.core.config.impl.FileConfigurationgetFileConfiguration()protected java.lang.StringgetManagementConfiguration()protected org.apache.activemq.artemis.dto.ManagementContextDTOgetManagementDTO()protected voidhelpGroup(java.lang.String groupName, java.lang.String commandName)protected org.apache.activemq.artemis.core.config.impl.FileConfigurationreadConfiguration()protected voidtreatError(java.lang.Exception e, java.lang.String group, java.lang.String command)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
checkOptions, execute, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
treatError
protected void treatError(java.lang.Exception e, java.lang.String group, java.lang.String command)
-
helpGroup
protected void helpGroup(java.lang.String groupName, java.lang.String commandName)
-
getFileConfiguration
protected org.apache.activemq.artemis.core.config.impl.FileConfiguration getFileConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
readConfiguration
protected org.apache.activemq.artemis.core.config.impl.FileConfiguration readConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
getBrokerDTO
protected org.apache.activemq.artemis.dto.BrokerDTO getBrokerDTO() throws java.lang.Exception- Throws:
java.lang.Exception
-
getManagementDTO
protected org.apache.activemq.artemis.dto.ManagementContextDTO getManagementDTO() throws java.lang.Exception- Throws:
java.lang.Exception
-
getConfiguration
protected java.lang.String getConfiguration()
-
getManagementConfiguration
protected java.lang.String getManagementConfiguration()
-
-