当前页面:
在线文档首页 >
JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档
Connector.SelectedArgument (Java Debug Interface) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档
com.sun.jdi.connect
Interface Connector.SelectedArgument
- All Superinterfaces:
- Connector.Argument, Serializable
- Enclosing interface:
- Connector
- public 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.
Method Summary |
List |
choices()
Return the possible values for the argument |
boolean |
isValid(String value)
Performs basic sanity check of argument. |
choices
public List choices()
- Return the possible values for the argument
- Returns:
List
of String
isValid
public boolean isValid(String value)
- Performs basic sanity check of argument.
- Specified by:
isValid
in interface Connector.Argument
- Returns:
true
if value is one of choices()
.