站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

Connector.SelectedArgument (Java Debug Interface) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

Java Debug Interface

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.
 
Methods inherited from interface com.sun.jdi.connect.Connector.Argument
description, label, mustSpecify, name, setValue, value
 

Method Detail

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().

Java Debug Interface