Class Upgrade
java.lang.Object
org.apache.activemq.artemis.cli.commands.ActionAbstract
org.apache.activemq.artemis.cli.commands.InputAbstract
org.apache.activemq.artemis.cli.commands.InstallAbstract
org.apache.activemq.artemis.cli.commands.Upgrade
-
Field Summary
FieldsFields inherited from class InstallAbstract
data, directory, encoding, etc, home, IS_NIX, IS_WINDOWS, javaMemory, javaOptions, javaUtilityOptions, LOG_DIRNAME, nix, OOM_DUMP_FILENAME, windowsFields inherited from class ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidChecks that the directory provided either exists and is writable or doesn't exist but can be created.execute(ActionContext context) protected FilefindBackup(ActionContext context) run(ActionContext context) Methods inherited from class InstallAbstract
applyFilters, copy, getDirectory, getEncoding, getHome, getInstance, getJavaOptions, getJavaUtilityOptions, isNix, isWindows, openStream, readTextFile, replace, setDirectory, setEncoding, setInstance, setNix, setWindows, write, writeMethods 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
-
OLD_LOGGING_PROPERTIES
- See Also:
-
-
Constructor Details
-
Upgrade
public Upgrade()
-
-
Method Details
-
checkDirectory
protected void checkDirectory()Checks that the directory provided either exists and is writable or doesn't exist but can be created. -
execute
- Specified by:
executein interfaceAction- Overrides:
executein classInputAbstract- Throws:
Exception
-
run
- Overrides:
runin classInstallAbstract- Throws:
Exception
-
findBackup
- Throws:
IOException
-