JavaScript is disabled on your browser.
net.sourceforge.pmd.renderers

Class AbstractRenderer

    • Field Detail

      • description

        protected String description
      • showSuppressedViolations

        protected boolean showSuppressedViolations
      • writer

        protected Writer writer
    • Constructor Detail

      • AbstractRenderer

        public AbstractRenderer(String name,
         String description)
    • Method Detail

      • setName

        public void setName(String name)
        Set the name of the Renderer.
        Specified by:
        setName in interface Renderer
        Parameters:
        name - The name of the Renderer.
      • getDescription

        public String getDescription()
        Get the description of the Renderer.
        Specified by:
        getDescription in interface Renderer
        Returns:
        The description of the Renderer.
      • setDescription

        public void setDescription(String description)
        Set the description of the Renderer.
        Specified by:
        setDescription in interface Renderer
        Parameters:
        description - The description of the Renderer.
      • getPropertyDefinitions

        @Deprecated
        public Map<String,String> getPropertyDefinitions()
        Deprecated.
        Get the configuration property definitions for Renderer. The keys in the map are the configuration property names, with the corresponding value being a description.
        Specified by:
        getPropertyDefinitions in interface Renderer
        Returns:
        The configuration property definition map.
      • defineProperty

        @Deprecated
        protected void defineProperty(String name,
         String description)
        Deprecated.
        Define a property.
        Parameters:
        name - The property name.
        description - The description of the property.
      • isShowSuppressedViolations

        public boolean isShowSuppressedViolations()
        Get the indicator for whether to show suppressed violations.
        Specified by:
        isShowSuppressedViolations in interface Renderer
        Returns:
        true if suppressed violations should show, false otherwise.
      • setShowSuppressedViolations

        public void setShowSuppressedViolations(boolean showSuppressedViolations)
        Set the indicator for whether to show suppressed violations.
        Specified by:
        setShowSuppressedViolations in interface Renderer
        Parameters:
        showSuppressedViolations - Whether to show suppressed violations.
      • setWriter

        public void setWriter(Writer writer)
        Set the Writer for the Renderer.
        Specified by:
        setWriter in interface Renderer
        Parameters:
        writer - The Writer.
      • getWriter

        public Writer getWriter()
        Get the Writer for the Renderer.
        Specified by:
        getWriter in interface Renderer
        Returns:
        The Writer.
      • flush

        public void flush()
        Specified by:
        flush in interface Renderer

Copyright © 2002-2014 InfoEther. All Rights Reserved.

AltStyle によって変換されたページ (->オリジナル) /