com.sun.enterprise.admin.cli.optional
Class BackupDomainCommand

java.lang.Object
  extended by com.sun.enterprise.admin.cli.CLICommand
      extended by com.sun.enterprise.admin.cli.LocalServerCommand
          extended by com.sun.enterprise.admin.cli.LocalDomainCommand
              extended by com.sun.enterprise.admin.cli.optional.BackupCommands
                  extended by com.sun.enterprise.admin.cli.optional.BackupDomainCommand
All Implemented Interfaces:
org.jvnet.hk2.component.PostConstruct

@Service(name="backup-domain")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public final class BackupDomainCommand
extends BackupCommands

This is a local command for backing-up domains. The Options:

The Operand:


Field Summary
 
Fields inherited from class com.sun.enterprise.admin.cli.LocalDomainCommand
domainDirParam
 
Fields inherited from class com.sun.enterprise.admin.cli.CLICommand
argv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING
 
Constructor Summary
BackupDomainCommand()
           
 
Method Summary
protected  int executeCommand()
           
 java.lang.String toString()
           
protected  void validate()
           
 
Methods inherited from class com.sun.enterprise.admin.cli.optional.BackupCommands
checkOptions, isWritableDirectory, prepareRequest, setBackupDir, setDescription, setRecycleLimit
 
Methods inherited from class com.sun.enterprise.admin.cli.LocalDomainCommand
getDomainName, getDomainRootDir, getDomainsDir, initDomain, isThisDAS, prepare, setDomainName
 
Methods inherited from class com.sun.enterprise.admin.cli.LocalServerCommand
checkForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, getPrevPid, getServerDirs, getUptime, isRestartable, isRunning, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestart
 
Methods inherited from class com.sun.enterprise.admin.cli.CLICommand
checkHelp, execute, getBooleanOption, getCommand, getManPage, getName, getOperandModel, getOption, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, usageOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackupDomainCommand

public BackupDomainCommand()
Method Detail

validate

protected void validate()
                 throws CommandException
Overrides:
validate in class LocalDomainCommand
Throws:
CommandException

executeCommand

protected int executeCommand()
                      throws CommandException
Specified by:
executeCommand in class CLICommand
Throws:
CommandException

toString

public java.lang.String toString()
Overrides:
toString in class BackupCommands


Copyright © 2012 GlassFish Community. All Rights Reserved.