Class ParsedValueProperties


  • public class ParsedValueProperties
    extends Object
    This class creates a map of property specs key by name.
    Author:
    nhant01, GeorgeLuo
    • Constructor Detail

      • ParsedValueProperties

        public ParsedValueProperties​(@Nonnull
                                     dev.amp.validator.ValidatorProtos.PropertySpecList spec)
        Constructor.
        Parameters:
        spec - property spec list.
    • Method Detail

      • getValuePropertyByName

        @Nonnull
        public Map<String,​dev.amp.validator.ValidatorProtos.PropertySpec> getValuePropertyByName()
        Returns the a map of PropertySpec.
        Returns:
        returns a map of PropertySpec.
      • getMandatoryValuePropertyNames

        public List<String> getMandatoryValuePropertyNames()
        Returns a list of mandatory property names.
        Returns:
        returns a list of mandatory property names.
      • cleanup

        public void cleanup()
        Clean up reference, improve gc performance.