org.gradle.api.tasks.diagnostics
Class GraphvizReportRenderer

java.lang.Object
  extended by org.gradle.api.tasks.diagnostics.TextProjectReportRenderer
      extended by org.gradle.api.tasks.diagnostics.GraphvizReportRenderer
All Implemented Interfaces:
DependencyReportRenderer, ProjectReportRenderer

public class GraphvizReportRenderer
extends TextProjectReportRenderer
implements DependencyReportRenderer

DependencyGrAaphRenderer that emits simple graphviz dot notation for a dependency tree.


Field Summary
 
Fields inherited from class org.gradle.api.tasks.diagnostics.TextProjectReportRenderer
SEPARATOR
 
Constructor Summary
GraphvizReportRenderer()
           
 
Method Summary
 void completeConfiguration(Configuration configuration)
          Completes the rendering of the given configuration.
 void render(ResolvedConfiguration resolvedConfiguration)
          Writes the given dependency graph for the current configuration.
 void startConfiguration(Configuration configuration)
          Starts rendering the given configuration.
 void startProject(Project project)
          Starts visiting a project.
 
Methods inherited from class org.gradle.api.tasks.diagnostics.TextProjectReportRenderer
complete, completeProject, getFormatter, getWriter, setOutputFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gradle.api.tasks.diagnostics.ProjectReportRenderer
complete, completeProject, setOutputFile
 

Constructor Detail

GraphvizReportRenderer

public GraphvizReportRenderer()
Method Detail

startProject

public void startProject(Project project)
Description copied from interface: ProjectReportRenderer
Starts visiting a project.

Specified by:
startProject in interface ProjectReportRenderer
Overrides:
startProject in class TextProjectReportRenderer
Parameters:
project - The project, never null.

startConfiguration

public void startConfiguration(Configuration configuration)
Description copied from interface: DependencyReportRenderer
Starts rendering the given configuration.

Specified by:
startConfiguration in interface DependencyReportRenderer
Parameters:
configuration - The configuration.

completeConfiguration

public void completeConfiguration(Configuration configuration)
Description copied from interface: DependencyReportRenderer
Completes the rendering of the given configuration.

Specified by:
completeConfiguration in interface DependencyReportRenderer
Parameters:
configuration - The configuration

render

public void render(ResolvedConfiguration resolvedConfiguration)
            throws IOException
Description copied from interface: DependencyReportRenderer
Writes the given dependency graph for the current configuration.

Specified by:
render in interface DependencyReportRenderer
Parameters:
resolvedConfiguration - The resolved configuration.
Throws:
IOException