com.sun.jdi.connect
Interface Connector.SelectedArgument
- public abstract static interface Connector.SelectedArgument
- extends Connector.Argument
Specification for and value of a Connector argument,
whose value is a String selected from a list of choices.
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary |
java.util.List |
choices()
Return the possible values for the argument |
boolean |
isValid(java.lang.String value)
Performs basic sanity check of argument. |
choices
public java.util.List choices()
- Return the possible values for the argument
- Returns:
List
of String
isValid
public boolean isValid(java.lang.String value)
- Performs basic sanity check of argument.
- Specified by:
- isValid in interface Connector.Argument
- Returns:
true
if value is one of choices()
.