Connector.Argument
, Serializable
Connector
public static interface Connector.BooleanArgument extends Connector.Argument
Modifier and Type | Method | Description |
---|---|---|
boolean |
booleanValue() |
Return the value of the argument as a boolean. |
boolean |
isValid |
Performs basic sanity check of argument. |
void |
setValue |
Sets the value of the argument. |
String |
stringValueOf |
Return the string representation of the value parameter. |
description, label, mustSpecify, name, setValue, value
void setValue(boolean value)
boolean isValid(String value)
isValid
in interface Connector.Argument
true
if value is a string representation of a boolean value.String stringValueOf(boolean value)
value
parameter. Does not set or examine the current value of this
instance.boolean booleanValue()
isValid(String)
should be called on Connector.Argument.value()
to check its validity. If it is invalid the boolean returned by this method is undefined.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.jdi/com/sun/jdi/connect/Connector.BooleanArgument.html