|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommandLine
This interface represents the command line received by plugin instances.
Method Summary | |
---|---|
String |
getOptionValue(char shortOptionName)
Returns the value of the specified option. |
String |
getOptionValue(char shortOptionName,
String defaultValue)
Returns the value of the specified option If the option is not present, returns the default value. |
String |
getOptionValue(String optionName)
Returns the value of the specified option. |
String |
getOptionValue(String optionName,
String defaultValue)
Returns the value of the specified option. |
List<String> |
getOptionValues(char shortOptionName)
Returns the values associated with the specified option. |
List<String> |
getOptionValues(String optionName)
Returns the values associated with the specified option. |
boolean |
hasOption(char shortOptionName)
Returns true if the option is present. |
boolean |
hasOption(String optionName)
Returns true if the option is present. |
Method Detail |
---|
String getOptionValue(String optionName)
optionName
- The option name
List<String> getOptionValues(String optionName)
optionName
- The option name
String getOptionValue(String optionName, String defaultValue)
optionName
- The option namedefaultValue
- The default value
String getOptionValue(char shortOptionName)
shortOptionName
- The option short name
List<String> getOptionValues(char shortOptionName)
shortOptionName
- The option short name
String getOptionValue(char shortOptionName, String defaultValue)
shortOptionName
- The option short namedefaultValue
- The default value
boolean hasOption(String optionName)
true
if the option is present.
optionName
- The option name
true
if the option is presentboolean hasOption(char shortOptionName)
true
if the option is present.
shortOptionName
- The option short name
true
if the specified option is present
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |