Connector.Argument, Serializablepublic 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(String value) |
Performs basic sanity check of argument.
|
void |
setValue(boolean value) |
Sets the value of the argument.
|
String |
stringValueOf(boolean value) |
Return the string representation of the
value
parameter. |
description, label, mustSpecify, name, setValue, valuevoid setValue(boolean value)
boolean isValid(String value)
isValid in interface Connector.Argumenttrue if value is a string
representation of a boolean value.stringValueOf(boolean)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. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1999, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2