Class BucketConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable Bucket convert​(java.lang.String name, @Nullable java.lang.Object value, java.lang.String location)
      converts the value of a property to a T object or null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BucketConverter

        public BucketConverter​(Bucket parent)
    • Method Detail

      • convert

        public @Nullable Bucket convert​(java.lang.String name,
                                        @Nullable java.lang.Object value,
                                        java.lang.String location)
        Description copied from interface: PropertyConverter
        converts the value of a property to a T object or null. May throw if conversion fails, e.g. if the property is required but null.
        Specified by:
        convert in interface PropertyConverter<Bucket>
        Parameters:
        name - property name
        value - property value
        location - property location, json pointer
        Returns:
        T converted value