net.sourceforge.pmd.properties

Class BooleanProperty

public class BooleanProperty extends AbstractScalarProperty

Defines a property type that supports Boolean values.

Version: $Revision$

Author: Brian Remedios

Constructor Summary
BooleanProperty(String theName, String theDescription, boolean defaultValue, float theUIOrder)
Constructor for BooleanProperty.
BooleanProperty(String theName, String theDescription, boolean[] defaultValues, float theUIOrder, int theMaxValues)
Constructor for BooleanProperty.
BooleanProperty(String theName, String theDescription, Boolean[] defaultValues, float theUIOrder, int theMaxValues)
Constructor for BooleanProperty.
Method Summary
protected Object[]arrayFor(int size)
Method arrayFor.
protected ObjectcreateFrom(String value)
Method createFrom.
Class<Boolean>type()
Method type.

Constructor Detail

BooleanProperty

public BooleanProperty(String theName, String theDescription, boolean defaultValue, float theUIOrder)
Constructor for BooleanProperty.

Parameters: theName String theDescription String defaultValue boolean theUIOrder float

BooleanProperty

public BooleanProperty(String theName, String theDescription, boolean[] defaultValues, float theUIOrder, int theMaxValues)
Constructor for BooleanProperty.

Parameters: theName String theDescription String defaultValues boolean[] theUIOrder float theMaxValues int

BooleanProperty

public BooleanProperty(String theName, String theDescription, Boolean[] defaultValues, float theUIOrder, int theMaxValues)
Constructor for BooleanProperty.

Parameters: theName String theDescription String defaultValues Boolean[] theUIOrder float theMaxValues int

Method Detail

arrayFor

protected Object[] arrayFor(int size)
Method arrayFor.

Parameters: size int

Returns: Object[]

createFrom

protected Object createFrom(String value)
Method createFrom.

Parameters: value String

Returns: Object

type

public Class<Boolean> type()
Method type.

Returns: Class

See Also: type