org.rhq.core.pluginapi.util
Class CommandLineOption

java.lang.Object
  extended by org.rhq.core.pluginapi.util.CommandLineOption

public class CommandLineOption
extends Object

The name(s) and other metadata associated with a command line option.


Constructor Summary
CommandLineOption(char shortName, String longName)
          Same as JavaCommandLineOption(shortName, longName, true)
CommandLineOption(char shortName, String longName, boolean expectsValue)
           
CommandLineOption(String shortName, String longName)
          Same as JavaCommandLineOption(shortName, longName, true)
CommandLineOption(String shortName, String longName, boolean expectsValue)
           
 
Method Summary
 String getLongName()
           
 String getShortName()
           
 boolean isExpectsValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandLineOption

public CommandLineOption(char shortName,
                         String longName)
Same as JavaCommandLineOption(shortName, longName, true)


CommandLineOption

public CommandLineOption(char shortName,
                         String longName,
                         boolean expectsValue)

CommandLineOption

public CommandLineOption(String shortName,
                         String longName)
Same as JavaCommandLineOption(shortName, longName, true)


CommandLineOption

public CommandLineOption(String shortName,
                         String longName,
                         boolean expectsValue)
Method Detail

getShortName

public String getShortName()

getLongName

public String getLongName()

isExpectsValue

public boolean isExpectsValue()

toString

public String toString()
Overrides:
toString in class Object


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