@Exported public static interface Connector.BooleanArgument extends Connector.Argument
| Modifier and Type | Method and 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.
Copyright © 1999, 2018, Oracle and/or its affiliates. All rights reserved.