src/share/classes/com/sun/jdi/connect/Connector.java
Print this page
@@ -43,10 +43,11 @@
* @see Connector.Argument
*
* @author Gordon Hirsch
* @since 1.3
*/
+@jdk.Supported
public interface Connector {
/**
* Returns a short identifier for the connector. Connector implementors
* should follow similar naming conventions as are used with packages
* to avoid name collisions. For example, the Sun connector
@@ -89,10 +90,11 @@
* Will always implement a subinterface of Argument:
* {@link Connector.StringArgument}, {@link Connector.BooleanArgument},
* {@link Connector.IntegerArgument},
* or {@link Connector.SelectedArgument}.
*/
+ @jdk.Supported
public interface Argument extends Serializable {
/**
* Returns a short, unique identifier for the argument.
* Not intended for exposure to end-user.
*
@@ -154,10 +156,11 @@
/**
* Specification for and value of a Connector argument,
* whose value is Boolean. Boolean values are represented
* by the localized versions of the strings "true" and "false".
*/
+ @jdk.Supported
public interface BooleanArgument extends Argument {
/**
* Sets the value of the argument.
*/
void setValue(boolean value);
@@ -194,10 +197,11 @@
/**
* Specification for and value of a Connector argument,
* whose value is an integer. Integer values are represented
* by their corresponding strings.
*/
+ @jdk.Supported
public interface IntegerArgument extends Argument {
/**
* Sets the value of the argument.
* The value should be checked with {@link #isValid(int)}
* before setting it; invalid values will throw an exception
@@ -255,10 +259,11 @@
/**
* Specification for and value of a Connector argument,
* whose value is a String.
*/
+ @jdk.Supported
public interface StringArgument extends Argument {
/**
* Performs basic sanity check of argument.
* @return <code>true</code> always
*/
@@ -267,10 +272,11 @@
/**
* Specification for and value of a Connector argument,
* whose value is a String selected from a list of choices.
*/
+ @jdk.Supported
public interface SelectedArgument extends Argument {
/**
* Return the possible values for the argument
* @return {@link List} of {@link String}
*/