Class EnvironmentHeap

  • All Implemented Interfaces:
    Heap

    public class EnvironmentHeap
    extends HeapImpl
    The root Heap that includes access to the environment additional information.
    • Constructor Detail

      • EnvironmentHeap

        public EnvironmentHeap​(Name name,
                               Environment environment)
        Builds a new EnvironmentHeap with the given name and environment.
        Parameters:
        name - name of this heap
        environment - environment to expose in properties
    • Method Detail

      • getProperties

        public Bindings getProperties()
        Description copied from interface: Heap
        Returns the properties from this heap and its parents if any.
        Specified by:
        getProperties in interface Heap
        Overrides:
        getProperties in class HeapImpl
        Returns:
        the properties from this heap and its parents if any.