public final class ACIPropertyDefinition extends PropertyDefinition<String>
| Modifier and Type | Class and Description |
|---|---|
static class |
ACIPropertyDefinition.Builder
An interface for incrementally constructing ACI property definitions.
|
PropertyDefinition.AbstractBuilder<T,D extends PropertyDefinition<T>>| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(PropertyDefinitionVisitor<R,P> v,
P p)
Apply a visitor to this property definition.
|
<R,P> R |
accept(PropertyValueVisitor<R,P> v,
String value,
P p)
Apply a visitor to a property value associated with this property
definition.
|
int |
compare(String o1,
String o2)
Compares two property values for order.
|
static ACIPropertyDefinition.Builder |
createBuilder(AbstractManagedObjectDefinition<?,?> d,
String propertyName)
Create a ACI property definition builder.
|
String |
decodeValue(String value)
Parse and validate a string representation of a property value.
|
void |
validateValue(String value)
Determine if the provided property value is valid according to this
property definition.
|
castValue, compareTo, encodeValue, equals, getAdministratorAction, getDefaultBehaviorProvider, getDescription, getDescription, getManagedObjectDefinition, getName, getSynopsis, getSynopsis, hashCode, hasOption, initialize, normalizeValue, toString, toStringpublic static ACIPropertyDefinition.Builder createBuilder(AbstractManagedObjectDefinition<?,?> d, String propertyName)
d - The managed object definition associated with this property
definition.propertyName - The property name.public void validateValue(String value)
validateValue in class PropertyDefinition<String>value - The property value (must not be null).public String decodeValue(String value)
decodeValue in class PropertyDefinition<String>value - The property string value (must not be null).public <R,P> R accept(PropertyDefinitionVisitor<R,P> v, P p)
accept in class PropertyDefinition<String>R - The return type of the visitor's methods.P - The type of the additional parameters to the visitor's
methods.v - The property definition visitor.p - Optional additional visitor parameter.public <R,P> R accept(PropertyValueVisitor<R,P> v, String value, P p)
accept in class PropertyDefinition<String>R - The return type of the visitor's methods.P - The type of the additional parameters to the visitor's
methods.v - The property value visitor.value - The property value.p - Optional additional visitor parameter.public int compare(String o1, String o2)
This default implementation normalizes both values using
PropertyDefinition.normalizeValue(Object) and then performs a case-sensitive string
comparison.
compare in interface Comparator<String>compare in class PropertyDefinition<String>o1 - the first object to be compared.o2 - the second object to be compared.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.