Class ValueSource.TemplatedValue

    • Method Detail

      • copyAndResolve

        public Object copyAndResolve​(Map<String,​Object> model)
        Description copied from interface: ValueSource
        Returns a copy of the value this ValueSource holds and resolves templates if there're any. For immutable values only a copy of the reference to the value is made.
        Specified by:
        copyAndResolve in interface ValueSource
        Parameters:
        model - The model to be used when resolving any templates
        Returns:
        copy of the wrapped value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object