SMILA (incubation) API documentation

org.eclipse.smila.management.jmx.client.helpers
Class ConfigHelper

java.lang.Object
  extended by org.eclipse.smila.management.jmx.client.helpers.ConfigHelper

public final class ConfigHelper
extends java.lang.Object

Author:
jschumacher

Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findConnectionConfig

public static ConnectionConfigType findConnectionConfig(ConsoleArguments arguments,
                                                        JmxClientConfigType config)
Find connection config.

Parameters:
arguments - the arguments
config - the config
Returns:
the connection config type

findCmdConfig

public static CmdConfigType findCmdConfig(ConsoleArguments arguments,
                                          JmxClientConfigType config)
Find cmd config.

Parameters:
arguments - the arguments
config - the config
Returns:
the cmd config type

createHelpString

public static java.lang.String createHelpString(JmxClientConfigType config,
                                                java.lang.String commandName)
create a help string describing the contents of this config.

Parameters:
config - the config
commandName - name of command to prefix to the sample strings.
Returns:
help string

SMILA (incubation) API documentation