protected Boolean getBooleanProperty(String name, Boolean defaultValue) {
        Object value = properties.get(name);
        return value != null ? Boolean.valueOf(value.toString()) : defaultValue;
    }
protected Boolean getBooleanProperty(String name, Boolean defaultValue) {
        Object value = properties.get(name);
        return value != null ? Boolean.valueOf(value.toString()) : defaultValue;
    }
protected Boolean getBooleanProperty ( String name , Boolean defaultValue ) { Object value = properties . get ( name ) ; return value != null ? Boolean . valueOf ( value . toString ( ) ) : defaultValue ; }
Get a property as boolean.

@param name
The name.
@param defaultValue
The default value.
@return The value.
Get a property as boolean .