@Service(name="list-backups") @PerLookup public final class ListBackupsCommand extends BackupCommands
domainDirParamDEFAULT_MASTER_PASSWORDargv, ASADMIN, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, lineReader, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, terminal, WARNING| Constructor and Description |
|---|
ListBackupsCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
executeCommand()
Execute the command using the options in options and the
operands in operands.
|
String |
toString() |
protected void |
validate()
The validate method can be used by a subclass to validate
that the type and quantity of parameters and operands matches
the requirements for this command.
|
checkOptions, isWritableDirectory, prepareRequest, setBackupDir, setDescription, setRecycleLimitgetDomainName, getDomainRootDir, getDomainsDir, initDomain, isThisDAS, prepare, setDomainNamecheckForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, getPrevPid, getServerDirs, getServerPid, getUptime, isLocal, isRemote, isRestartable, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestartbuildLineReader, buildTerminal, checkHelp, closeTerminal, execute, execute, expandManPage, getBooleanOption, getBriefCommandUsage, getCommand, getCommand, getCommandScope, getCommandUsage, getManPage, getName, getOperandModel, getOption, getOptions, getPassword, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, usageOptionsprotected void validate()
throws CommandException
CLICommandvalidate in class LocalDomainCommandCommandException - if execution of the command failsCommandValidationException - if there's something wrong
with the options or argumentsprotected int executeCommand()
throws CommandException
CLICommandexecuteCommand in class CLICommandCommandException - if execution of the command failsCommandValidationException - if there's something wrong
with the options or argumentspublic String toString()
toString in class BackupCommandsCopyright © 2019. All rights reserved.