public static interface

Connector.BooleanArgument

implements Connector.Argument
com.sun.jdi.connect.Connector.BooleanArgument

Class Overview

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".

Summary

Public Methods
abstract boolean booleanValue()
Return the value of the argument as a boolean.
abstract boolean isValid(String value)
Performs basic sanity check of argument.
abstract void setValue(boolean value)
Sets the value of the argument.
abstract String stringValueOf(boolean value)
Return the string representation of the value parameter.
[Expand]
Inherited Methods
From interface com.sun.jdi.connect.Connector.Argument

Public Methods

public abstract boolean booleanValue ()

Return the value of the argument as a boolean. Since the argument may not have been set or may have an invalid value isValid(String) should be called on 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.

public abstract boolean isValid (String value)

Performs basic sanity check of argument.

Returns
  • true if value is a string representation of a boolean value.

public abstract void setValue (boolean value)

Sets the value of the argument.

public abstract String stringValueOf (boolean value)

Return the string representation of the value parameter. Does not set or examine the current value of this instance.

Returns
  • the localized String representation of the boolean value.