public abstract class LocalDomainCommand extends LocalServerCommand
| Modifier and Type | Field and Description |
|---|---|
protected String |
domainDirParam |
| Constructor and Description |
|---|
LocalDomainCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDomainName() |
protected File |
getDomainRootDir() |
protected File |
getDomainsDir() |
protected void |
initDomain() |
protected boolean |
isThisDAS(File ourDir) |
protected void |
prepare() |
protected void |
setDomainName(String name)
We need this so that @Param values for domainname can be remembered later
when the ServerDirs object is made.
|
protected void |
validate() |
checkForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, getPrevPid, getServerDirs, getServerPid, getUptime, isLocal, isRemote, isRestartable, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestartcheckHelp, 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, toString, usageOptionsprotected String domainDirParam
protected void prepare()
throws org.glassfish.api.admin.CommandException,
org.glassfish.api.admin.CommandValidationException
prepare in class com.sun.enterprise.admin.cli.CLICommandorg.glassfish.api.admin.CommandExceptionorg.glassfish.api.admin.CommandValidationExceptionprotected void validate()
throws org.glassfish.api.admin.CommandException,
org.glassfish.api.admin.CommandValidationException
validate in class com.sun.enterprise.admin.cli.CLICommandorg.glassfish.api.admin.CommandExceptionorg.glassfish.api.admin.CommandValidationExceptionprotected final File getDomainsDir()
protected final File getDomainRootDir()
protected final String getDomainName()
protected final void setDomainName(String name)
name - the user-specified domain name.protected void initDomain()
throws org.glassfish.api.admin.CommandException
org.glassfish.api.admin.CommandExceptionprotected boolean isThisDAS(File ourDir)
Copyright © 2018 Eclipse Foundation. All rights reserved.