Interface Configuration

    • Method Detail

      • getAttributeNames

        @Deprecated(since="8.45")
        String[] getAttributeNames()
        Deprecated.
        This shall be removed in future releases. Please use getPropertyNames() instead.
        The set of attribute names.
        Returns:
        The set of attribute names, never null.
      • getAttribute

        @Deprecated(since="8.45")
        String getAttribute​(String name)
                     throws CheckstyleException
        Deprecated.
        This shall be removed in future releases. Please use getProperty(String name) instead.
        The attribute value for an attribute name.
        Parameters:
        name - the attribute name
        Returns:
        the value that is associated with name
        Throws:
        CheckstyleException - if name is not a valid attribute name
      • getPropertyNames

        String[] getPropertyNames()
        The set of property names.
        Returns:
        The set of property names, never null.
      • getChildren

        Configuration[] getChildren()
        The set of child configurations.
        Returns:
        The set of child configurations, never null.
      • getName

        String getName()
        The name of this configuration.
        Returns:
        The name of this configuration.
      • getMessages

        Map<String,​StringgetMessages()
        Returns an unmodifiable map instance containing the custom messages for this configuration.
        Returns:
        unmodifiable map containing custom messages