Class PropertyDefinitionUsageBuilder

java.lang.Object
org.forgerock.opendj.config.PropertyDefinitionUsageBuilder

public final class PropertyDefinitionUsageBuilder extends Object
A property definition visitor which can be used to generate syntax usage information.
  • 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

      public LocalizableMessage getUsage(PropertyDefinition<?> pd)
      Generates the usage information for the provided property definition.
      Parameters:
      pd - The property definitions.
      Returns:
      Returns the usage information for the provided property definition.