Class ConfigDescriptionEntry

    • Constructor Detail

      • ConfigDescriptionEntry

        protected ConfigDescriptionEntry​(String keyName)
        Creates a new config description entry with the given name.
        Parameters:
        keyName - the name of the entry.
    • Method Detail

      • getKeyName

        public String getKeyName()
        Returns the full key name of the configuration description.
        Returns:
        the key name.
      • getDescription

        public String getDescription()
        Returns the descrption of the configuration entry.
        Returns:
        the key description.
      • setDescription

        public void setDescription​(String description)
        Defines the descrption of the configuration entry.
        Parameters:
        description - the key description.
      • isGlobal

        public boolean isGlobal()
        Returns, whether the key is a global key. Global keys are read from the global report configuration and specifying them in the report local configuration is useless.
        Returns:
        true, if the key is global, false otherwise.
      • setGlobal

        public void setGlobal​(boolean global)
        Defines, whether the key is a global key. Global keys are read from the global report configuration and specifying them in the report local configuration is useless.
        Parameters:
        global - set to true, if the key is global, false otherwise.
      • isHidden

        public boolean isHidden()
        Returns, whether the key is hidden. Hidden keys will not be visible in the configuration editor.
        Returns:
        true, if the key is hidden, false otherwise
      • setHidden

        public void setHidden​(boolean hidden)
        Defines, whether the key is hidden. Hidden keys will not be visible in the configuration editor.
        Parameters:
        hidden - set to true, if the key is hidden, false otherwise
      • equals

        public boolean equals​(Object o)
        Checks whether the given object is equal to this config description entry. The object will be equal, if it is also an config description entry with the same name as this entry.
        Overrides:
        equals in class Object
        Parameters:
        o - the other object.
        Returns:
        true, if the config entry is equal to the given object, false otherwise.
        See Also:
        Object.equals(Object)
      • hashCode

        public int hashCode()
        Computes an hashcode for this object.
        Overrides:
        hashCode in class Object
        Returns:
        the hashcode.
        See Also:
        Object.hashCode()