- All Superinterfaces:
Connector.Argument,Serializable
- Enclosing interface:
- Connector
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".
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the value of the argument as a boolean.booleanPerforms basic sanity check of argument.voidsetValue(boolean value) Sets the value of the argument.stringValueOf(boolean value) Return the string representation of thevalueparameter.Methods declared in interface com.sun.jdi.connect.Connector.Argument
description, label, mustSpecify, name, setValue, value
-
Method Details
-
setValue
void setValue(boolean value) Sets the value of the argument. -
isValid
Performs basic sanity check of argument.- Specified by:
isValidin interfaceConnector.Argument- Returns:
trueif value is a string representation of a boolean value.- See Also:
-
stringValueOf
Return the string representation of thevalueparameter. Does not set or examine the current value ofthisinstance.- Returns:
- the localized String representation of the boolean value.
-
booleanValue
boolean booleanValue()Return the value of the argument as a boolean. Since the argument may not have been set or may have an invalid valueisValid(String)should be called onConnector.Argument.value()to check its validity. If it is invalid the boolean returned by this method is undefined.- Returns:
- the value of the argument as a boolean.
-