JavaScript is disabled on your browser.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
net.sourceforge.pmd.renderers

Interface Renderer

    • Method Detail

      • getName

        String getName()
        Get the name of the Renderer.
        Returns:
        The name of the Renderer.
      • setName

        void setName(String name)
        Set the name of the Renderer.
        Parameters:
        name - The name of the Renderer.
      • getDescription

        String getDescription()
        Get the description of the Renderer.
        Returns:
        The description of the Renderer.
      • defaultFileExtension

        String defaultFileExtension()
        Return the default filename extension to use.
        Returns:
        String
      • setDescription

        void setDescription(String description)
        Set the description of the Renderer.
        Parameters:
        description - The description of the Renderer.
      • getPropertyDefinitions

        @Deprecated
        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.
        Returns:
        The configuration property definition map.
      • isShowSuppressedViolations

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

        void setShowSuppressedViolations(boolean showSuppressedViolations)
        Set the indicator for whether to show suppressed violations.
        Parameters:
        showSuppressedViolations - Whether to show suppressed violations.
      • getWriter

        Writer getWriter()
        Get the Writer for the Renderer.
        Returns:
        The Writer.
      • setWriter

        void setWriter(Writer writer)
        Set the Writer for the Renderer.
        Parameters:
        writer - The Writer.
      • start

        void start()
         throws IOException 
        This method is called before any source files are processed. The Renderer will have been fully initialized by the time this method is called, so the Writer and other state will be available.
        Throws:
        IOException
      • startFileAnalysis

        void startFileAnalysis(DataSource dataSource)
        This method is called each time a source file is processed. It is called after start(), but before renderFileReport(Report) and end(). This method may be invoked by different threads which are processing files independently. Therefore, any non-trivial implementation of this method needs to be thread-safe.
        Parameters:
        dataSource - The source file.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2002-2014 InfoEther. All Rights Reserved.

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