org.rhq.modules.plugins.jbossas7
Class AS7CommandLine

java.lang.Object
  extended by org.rhq.core.pluginapi.util.JavaCommandLine
      extended by org.rhq.modules.plugins.jbossas7.AS7CommandLine

public class AS7CommandLine
extends JavaCommandLine

Parses a JBoss AS7 command line and provides easy access to its parts.

Author:
Ian Springer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.rhq.core.pluginapi.util.JavaCommandLine
JavaCommandLine.OptionValueDelimiter
 
Field Summary
static String HOME_DIR_SYSPROP
           
 
Constructor Summary
AS7CommandLine(ProcessInfo process)
           
AS7CommandLine(String[] args)
           
 
Method Summary
 List<String> getAppServerArguments()
           
 String getAppServerModuleName()
           
protected  void processClassArgument(String classArg, String nextArg)
           
 
Methods inherited from class org.rhq.core.pluginapi.util.JavaCommandLine
getArguments, getClassArguments, getClassOption, getClassOption, getClassPath, getExecutableJarFile, getJavaExecutable, getJavaOptions, getMainClassName, getSystemProperties, isClassOptionPresent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HOME_DIR_SYSPROP

public static final String HOME_DIR_SYSPROP
See Also:
Constant Field Values
Constructor Detail

AS7CommandLine

public AS7CommandLine(String[] args)

AS7CommandLine

public AS7CommandLine(ProcessInfo process)
Method Detail

getAppServerModuleName

@NotNull
public String getAppServerModuleName()

getAppServerArguments

@NotNull
public List<String> getAppServerArguments()

processClassArgument

protected void processClassArgument(String classArg,
                                    String nextArg)
Overrides:
processClassArgument in class JavaCommandLine


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.