@Service(name="_synchronize-instance") @PerLookup public class SynchronizeInstanceCommand extends LocalInstanceCommand
| Modifier and Type | Field and Description |
|---|---|
protected String |
sync |
checkOneAndOnly, domainName, instanceDir, instanceName, isCreateInstanceFilesystem, node, nodeDir, nodeDirChild, nodeDirRootargv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING| Constructor and Description |
|---|
SynchronizeInstanceCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
executeCommand()
Execute the command using the options in options and the
operands in operands.
|
protected boolean |
synchronizeInstance()
Synchronize this server instance.
|
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.
|
getDasProperties, getInstallRootPath, getInstanceDirs, getInstanceName, getMasterPasswordFile, getNodeInstallDir, getProductRootPath, initInstance, isDirectory, mkdirs, setDasDefaults, setInstanceName, setServerDirs, validateDasOptions, whackFilesystemcheckForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getPrevPid, getServerDirs, getServerPid, getUptime, isLocal, isRemote, isRestartable, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestartcheckHelp, 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, prepare, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, toString, usageOptionsprotected String sync
protected void validate()
throws CommandException
CLICommandvalidate in class LocalInstanceCommandCommandException - 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 argumentsprotected boolean synchronizeInstance()
throws CommandException
CommandExceptionCopyright © 2017. All rights reserved.