Class ActivationSequenceSet
- java.lang.Object
-
- org.apache.activemq.artemis.cli.commands.ActionAbstract
-
- org.apache.activemq.artemis.cli.commands.Configurable
-
- org.apache.activemq.artemis.cli.commands.tools.DataAbstract
-
- org.apache.activemq.artemis.cli.commands.tools.LockAbstract
-
- org.apache.activemq.artemis.cli.commands.activation.ActivationSequenceSet
-
- All Implemented Interfaces:
Action
@Command(name="set", description="Set local and/or remote activation sequence") public class ActivationSequenceSet extends LockAbstract
-
-
Field Summary
Fields Modifier and Type Field Description booleanlocalStringnodeIdbooleanremotelongvalue-
Fields inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
binding, journal, largeMessges, paging
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.Configurable
global
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
context, DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description ActivationSequenceSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(ActionContext context)static voidexecute(ActivationSequenceSet command, Configuration config, PrintStream out)This has been exposed to ease testing it on integration tests: no need for brokerInstance-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.LockAbstract
unlock
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
getBinding, getJournal, getLargeMessages, getPaging
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, helpGroup, readConfiguration, treatError
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
checkOptions, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Field Detail
-
nodeId
public String nodeId
-
remote
public boolean remote
-
local
public boolean local
-
value
public long value
-
-
Method Detail
-
execute
public Object execute(ActionContext context) throws Exception
- Specified by:
executein interfaceAction- Overrides:
executein classLockAbstract- Throws:
Exception
-
execute
public static void execute(ActivationSequenceSet command, Configuration config, PrintStream out) throws Exception
This has been exposed to ease testing it on integration tests: no need for brokerInstance- Throws:
Exception
-
-