public static final class ClassPropertyDefinition.Builder extends PropertyDefinition.AbstractBuilder<String,ClassPropertyDefinition>
Modifier and Type | Method and Description |
---|---|
void |
addInstanceOf(String className)
Add an class name which property values must implement.
|
protected ClassPropertyDefinition |
buildInstance(AbstractManagedObjectDefinition<?,?> d,
String propertyName,
EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<ValueOrExpression<String>> defaultBehavior)
Build a property definition based on the properties of this builder.
|
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setOption
public final void addInstanceOf(String className)
className
- The name of a class which property values must implement.protected ClassPropertyDefinition buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<ValueOrExpression<String>> defaultBehavior)
PropertyDefinition.AbstractBuilder
buildInstance
in class PropertyDefinition.AbstractBuilder<String,ClassPropertyDefinition>
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.Copyright 2010-2022 ForgeRock AS.