Class ContextEnvironment

  • All Implemented Interfaces:
    java.io.Serializable, Injectable

    public class ContextEnvironment
    extends ResourceBase
    Representation of an application environment entry, as represented in an <env-entry> element in the deployment descriptor.
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextEnvironment

        public ContextEnvironment()
        Default constructor for ContextEnvironment.
    • Method Detail

      • getOverride

        public boolean getOverride()
        Returns whether this environment entry allows overrides by the application deployment descriptor.
        Returns:
        true if overrides are allowed
      • setOverride

        public void setOverride​(boolean override)
        Sets whether this environment entry allows overrides by the application deployment descriptor.
        Parameters:
        override - true if overrides are allowed
      • getValue

        public java.lang.String getValue()
        Returns the value of this environment entry.
        Returns:
        the environment entry value
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value of this environment entry.
        Parameters:
        value - the environment entry value
      • toString

        public java.lang.String toString()
        Return a String representation of this object.
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class ResourceBase