public final class ConfigHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createHelpString(JmxClientConfigType config,
java.lang.String commandName)
create a help string describing the contents of this config.
|
static CmdConfigType |
findCmdConfig(ConsoleArguments arguments,
JmxClientConfigType config)
Find cmd config.
|
static ConnectionConfigType |
findConnectionConfig(ConsoleArguments arguments,
JmxClientConfigType config)
Find connection config.
|
public static ConnectionConfigType findConnectionConfig(ConsoleArguments arguments, JmxClientConfigType config)
arguments
- the argumentsconfig
- the configpublic static CmdConfigType findCmdConfig(ConsoleArguments arguments, JmxClientConfigType config)
arguments
- the argumentsconfig
- the configpublic static java.lang.String createHelpString(JmxClientConfigType config, java.lang.String commandName)
config
- the configcommandName
- name of command to prefix to the sample strings.