|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specification for and value of a Connector argument, whose value is an integer. Integer values are represented by their corresponding strings.
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
int |
intValue()
Return the value of the argument as a int. |
boolean |
isValid(int value)
Performs basic sanity check of argument. |
boolean |
isValid(java.lang.String value)
Performs basic sanity check of argument. |
int |
max()
The upper bound for the value. |
int |
min()
The lower bound for the value. |
void |
setValue(int value)
Sets the value of the argument. |
java.lang.String |
stringValueOf(int value)
Return the string representation of the value
parameter. |
Methods inherited from interface com.sun.jdi.connect.Connector.Argument |
description,
label,
mustSpecify,
name,
setValue,
value |
Method Detail |
public void setValue(int value)
isValid(int)
before setting it; invalid values will throw an exception
when the connection is established - for example,
on LaunchingConnector.launch(java.util.Map)
public boolean isValid(java.lang.String value)
true
if value represents an int that is
min()
<= value <= max()
public boolean isValid(int value)
true
if
min()
<= value <= max()
public java.lang.String stringValueOf(int value)
value
parameter.
Does not set or examine the value or the argument.public int intValue()
isValid(String)
should be called on
Connector.Argument.value()
to check its validity. If it is invalid
the int returned by this method is undefined.public int max()
public int min()
|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |