Package org.forgerock.opendj.config
Class PropertyDefinitionUsageBuilder
java.lang.Object
org.forgerock.opendj.config.PropertyDefinitionUsageBuilder
A property definition visitor which can be used to generate syntax usage information.
-
Constructor Summary
ConstructorDescriptionPropertyDefinitionUsageBuilder
(boolean isDetailed) Creates a new property usage builder. -
Method Summary
Modifier and TypeMethodDescriptiongetUsage
(PropertyDefinition<?> pd) Generates the usage information for the provided property definition.
-
Constructor Details
-
PropertyDefinitionUsageBuilder
public PropertyDefinitionUsageBuilder(boolean isDetailed) Creates a new property usage builder.- Parameters:
isDetailed
- Indicates whether the generated usage should contain detailed information such as constraints.
-
-
Method Details
-
getUsage
Generates the usage information for the provided property definition.- Parameters:
pd
- The property definitions.- Returns:
- Returns the usage information for the provided property definition.
-