|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.PropertyDefinition.AbstractBuilder<java.lang.String,StringPropertyDefinition>
org.opends.server.admin.StringPropertyDefinition.Builder
public static class StringPropertyDefinition.Builder
An interface for incrementally constructing string property definitions.
| Method Summary | |
|---|---|
protected StringPropertyDefinition |
buildInstance(AbstractManagedObjectDefinition<?,?> d,
java.lang.String propertyName,
java.util.EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<java.lang.String> defaultBehavior)
Build a property definition based on the properties of this builder. |
void |
setCaseInsensitive(boolean value)
Set a flag indicating whether values of this property are case-insensitive. |
void |
setPattern(java.lang.String pattern,
java.lang.String patternUsage)
Set the regular expression pattern which values of this property must match. |
| Methods inherited from class org.opends.server.admin.PropertyDefinition.AbstractBuilder |
|---|
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setOption |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final void setCaseInsensitive(boolean value)
value - true if values are case-insensitive, or
false otherwise.
public final void setPattern(java.lang.String pattern,
java.lang.String patternUsage)
throws java.util.regex.PatternSyntaxException
pattern - The regular expression pattern string, or
null if there is no pattern.patternUsage - A user-friendly usage string representing the pattern
which can be used in error messages and help (e.g. for
patterns which match a host/port combination, the
usage string "HOST:PORT" would be appropriate).
java.util.regex.PatternSyntaxException - If the provided regular expression pattern has an
invalid syntax.
protected StringPropertyDefinition buildInstance(AbstractManagedObjectDefinition<?,?> d,
java.lang.String propertyName,
java.util.EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<java.lang.String> defaultBehavior)
buildInstance in class PropertyDefinition.AbstractBuilder<java.lang.String,StringPropertyDefinition>d - The managed object definition associated with this
property definition.propertyName - The property name.options - Options applicable to this definition.adminAction - The administrator action.defaultBehavior - The default behavior provider.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||