Interface Environment

    • Method Detail

      • contains

        boolean contains​(String name)
        Checks if this environment provides a VTL object with the specified name.
        Parameters:
        name - The name of requested object.
        Returns:
        true if this environment provides the specified object.
      • getValue

        Optional<VTLValue> getValue​(String name)
        Returns an Optional reference to a VTL object with the specified name in this environment.
        Parameters:
        name - The name of requested object.
        Returns:
        An Optional with a reference to the requested object o Optional.empty() if the object is not found in this environment.
      • getValueMetadata

        default Optional<VTLValueMetadata> getValueMetadata​(String name)
        Returns an Optional reference to the metadata of a VTL object with the specified name in this environment.
        Parameters:
        name - The name of requested object
        Returns:
        An Optional with a reference to the metadata of the requested object o Optional.empty() if the object is not found in this environment.
      • init

        default Environment init​(Object... configuration)
        Implementing classes may override this method if they need to use a particular initialization procedure.
        Parameters:
        configuration - Parameters that may be passed to the implementing class.
        Returns:
        this instance, initialized.