| Package | Description |
|---|---|
| com.sun.enterprise.admin.cli | |
| com.sun.enterprise.admin.cli.remote |
| Modifier and Type | Field and Description |
|---|---|
protected Environment |
CLICommand.env
The environment for the command.
|
| Modifier and Type | Method and Description |
|---|---|
Environment |
CLIContainer.getEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
CLIUtil.getAllCommands(CLIContainer container,
ProgramOptions po,
Environment env)
Return all commands, local and remote.
|
static String[] |
CLIUtil.getRemoteCommands(CLIContainer container,
ProgramOptions po,
Environment env)
Get the list of commands from the remote server.
|
void |
CLIContainer.setEnvironment(Environment environment) |
void |
ProgramOptions.toEnvironment(Environment env)
Copy the program options that were specified on the
command line into the corresponding environment variables.
|
static void |
CLIUtil.writeCommandToDebugLog(String cname,
Environment env,
String[] args,
int exit)
Log the command, for debugging.
|
| Constructor and Description |
|---|
CLICommand(String name,
ProgramOptions programOpts,
Environment env)
Constructor used by subclasses to save the name, program options,
and environment information into corresponding protected fields.
|
ProgramOptions(Environment env)
Initialize program options based only on environment defaults,
with no options from the command line.
|
ProgramOptions(org.glassfish.api.admin.ParameterMap options,
Environment env)
Initialize the programoptions based on parameters parsed
from the command line, with defaults supplied by the
environment.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DASUtils.pingDASQuietly(ProgramOptions programOpts,
Environment env)
See if DAS is alive.
|
static DASUtils.Error |
DASUtils.pingDASWithAuth(ProgramOptions programOpts,
Environment env)
See if DAS is alive, but insist that athentication is correct.
|
| Constructor and Description |
|---|
RemoteCLICommand(String name,
ProgramOptions po,
Environment env)
Construct a new remote command object.
|
RemoteCLICommand(String name,
ProgramOptions po,
Environment env,
String responseFormatType,
OutputStream userOut)
Construct a new remote command object.
|
RemoteCommand(String name,
ProgramOptions po,
Environment env)
Construct a new remote command object.
|
RemoteCommand(String name,
ProgramOptions po,
Environment env,
String responseFormatType,
OutputStream userOut)
Construct a new remote command object.
|
Copyright © 2019. All rights reserved.