public abstract class BackupCommands extends LocalDomainCommand
domainDirParam
argv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING
Constructor and Description |
---|
BackupCommands() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkOptions()
A method that checks the options and operand that the user supplied.
|
protected boolean |
isWritableDirectory(File domainFile) |
protected void |
prepareRequest() |
protected void |
setBackupDir(String dir) |
protected void |
setDescription(String d) |
protected void |
setRecycleLimit(int limit) |
String |
toString() |
getDomainName, getDomainRootDir, getDomainsDir, initDomain, isThisDAS, prepare, setDomainName, validate
checkForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, getPrevPid, getServerDirs, getServerPid, getUptime, isLocal, isRemote, isRestartable, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestart
checkHelp, execute, executeCommand, 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, usageOptions
protected void checkOptions() throws CommandException
CommandException
protected void setDescription(String d)
protected void setBackupDir(String dir)
protected void setRecycleLimit(int limit)
protected void prepareRequest() throws CommandValidationException
CommandValidationException
protected boolean isWritableDirectory(File domainFile)
public String toString()
toString
in class CLICommand
Copyright © 2018. All rights reserved.