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
context, 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 BrokerDTOgetBrokerDTO()protected StringgetConfiguration()protected FileConfigurationgetFileConfiguration()protected StringgetManagementConfiguration()protected ManagementContextDTOgetManagementDTO()protected voidhelpGroup(String groupName, String commandName)protected FileConfigurationreadConfiguration()protected voidtreatError(Exception e, String group, String command)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
checkOptions, execute, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
getFileConfiguration
protected FileConfiguration getFileConfiguration() throws Exception
- Throws:
Exception
-
readConfiguration
protected FileConfiguration readConfiguration() throws Exception
- Throws:
Exception
-
getManagementDTO
protected ManagementContextDTO getManagementDTO() throws Exception
- Throws:
Exception
-
getConfiguration
protected String getConfiguration()
-
getManagementConfiguration
protected String getManagementConfiguration()
-
-