|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.jnrpe.commands.CommandOption
public final class CommandOption
This class represent a command Option.
| Constructor Summary | |
|---|---|
CommandOption(String optName)
Initializes an option that has no value. |
|
CommandOption(String optName,
String optValue)
Initializes an option and its value. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the option name. |
String |
getValue()
Returns the option value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandOption(String optName)
optName - The option name
public CommandOption(String optName,
String optValue)
optName - The option nameoptValue - The option value| Method Detail |
|---|
public String getName()
public String getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||