org.kuali.maven.plugins.graph
Class BaseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.kuali.maven.plugins.graph.BaseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ConflictsMojo, DependenciesMojo, FlatMojo

public abstract class BaseMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BaseMojo()
           
 
Method Summary
 void execute()
           
 org.apache.maven.artifact.resolver.ArtifactCollector getArtifactCollector()
           
 org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()
           
 org.apache.maven.artifact.metadata.ArtifactMetadataSource getArtifactMetadataSource()
           
 org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()
           
 int getDepth()
           
protected  DepthFilter<MavenContext> getDepthFilter()
           
 Direction getDirection()
           
protected  String getDotFileContent(String title, Direction direction)
           
protected abstract  EdgeHandler getEdgeHandler()
           
protected  NodeFilter<MavenContext> getExcludeFilter()
           
 String getExcludes()
           
protected abstract  File getFile()
           
 String getHide()
           
protected  NodeFilter<MavenContext> getHideFilter()
           
protected  NodeFilter<MavenContext> getIncludeFilter()
           
 String getIncludes()
           
 org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
           
protected  org.apache.maven.shared.dependency.tree.DependencyNode getMavenTree()
           
 org.apache.maven.project.MavenProject getProject()
           
 String getShow()
           
protected  NodeFilter<MavenContext> getShowFilter()
           
 String getTitle()
           
 org.apache.maven.shared.dependency.tree.DependencyTreeBuilder getTreeBuilder()
           
 boolean isKeepDotFile()
           
 boolean isTransitive()
           
protected  void postProcess(Node<MavenContext> node, List<GraphNode> nodes, List<Edge> edges)
           
protected  void preProcess(Node<MavenContext> node)
           
 void setDepth(int depth)
           
 void setDirection(Direction direction)
           
 void setExcludes(String excludes)
           
 void setHide(String hide)
           
 void setIncludes(String includes)
           
 void setKeepDotFile(boolean keepDotFile)
           
 void setShow(String show)
           
 void setTitle(String title)
           
 void setTransitive(boolean transitive)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseMojo

public BaseMojo()
Method Detail

execute

public void execute()

getFile

protected abstract File getFile()

getEdgeHandler

protected abstract EdgeHandler getEdgeHandler()

getDepthFilter

protected DepthFilter<MavenContext> getDepthFilter()

preProcess

protected void preProcess(Node<MavenContext> node)

postProcess

protected void postProcess(Node<MavenContext> node,
                           List<GraphNode> nodes,
                           List<Edge> edges)

getDotFileContent

protected String getDotFileContent(String title,
                                   Direction direction)

getShowFilter

protected NodeFilter<MavenContext> getShowFilter()

getHideFilter

protected NodeFilter<MavenContext> getHideFilter()

getIncludeFilter

protected NodeFilter<MavenContext> getIncludeFilter()

getExcludeFilter

protected NodeFilter<MavenContext> getExcludeFilter()

getMavenTree

protected org.apache.maven.shared.dependency.tree.DependencyNode getMavenTree()

getIncludes

public String getIncludes()

setIncludes

public void setIncludes(String includes)

getExcludes

public String getExcludes()

setExcludes

public void setExcludes(String excludes)

getHide

public String getHide()

setHide

public void setHide(String hide)

getShow

public String getShow()

setShow

public void setShow(String show)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

isKeepDotFile

public boolean isKeepDotFile()

setKeepDotFile

public void setKeepDotFile(boolean keepDotFile)

isTransitive

public boolean isTransitive()

setTransitive

public void setTransitive(boolean transitive)

getDirection

public Direction getDirection()

setDirection

public void setDirection(Direction direction)

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

getProject

public org.apache.maven.project.MavenProject getProject()

getLocalRepository

public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()

getArtifactResolver

public org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()

getArtifactFactory

public org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()

getArtifactMetadataSource

public org.apache.maven.artifact.metadata.ArtifactMetadataSource getArtifactMetadataSource()

getArtifactCollector

public org.apache.maven.artifact.resolver.ArtifactCollector getArtifactCollector()

getTreeBuilder

public org.apache.maven.shared.dependency.tree.DependencyTreeBuilder getTreeBuilder()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.