Class PropertyDefaultValuesManager


  • public class PropertyDefaultValuesManager
    extends java.lang.Object
    Class is used to set multiple default values for property, since current implementation only allows single value to be set If a configurator is specified for property, the default values from configurator will be set, skipping the model default value.
    • Constructor Detail

      • PropertyDefaultValuesManager

        public PropertyDefaultValuesManager()
    • Method Detail

      • addPropertyDefaultValues

        public static void addPropertyDefaultValues​(PropertyDefaultValues defaultValues)
      • removePropertyDefaultValues

        public static void removePropertyDefaultValues​(PropertyDefaultValues defaultValues)
      • getDefaultValues

        @CheckForNull
        public static java.util.function.Supplier<java.lang.Object> getDefaultValues​(Property property,
                                                                                     java.util.function.Function<ValueSpecification,​?> valueRetrievalFunction)