org.jvnet.maven.plugin.antrun
Class DependencyGraphTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jvnet.maven.plugin.antrun.DependencyGraphTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
GraphDefTask, ResolveAllTask

public abstract class DependencyGraphTask
extends org.apache.tools.ant.Task

Base class for tasks that work with a dependency graph defined as a nested structure.

Author:
Kohsuke Kawaguchi, Paul Sterk

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
DependencyGraphTask()
           
 
Method Summary
protected  DependencyGraph buildGraph(GraphFilter filter)
          Transforms a graph by applying the given filter to thtese "source graph", which is determined by the various parameter to this task.
 void setArtifactId(String artifactId)
           
 void setBaseGraph(String id)
           
 void setClassifier(String classifier)
           
 void setGroupId(String groupId)
           
 void setTolerateBrokenPOMs(boolean tolerateBrokenPOMs)
          If true, ignore an artifact that fails to resolve.
 void setType(String type)
           
 void setVersion(String version)
           
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyGraphTask

public DependencyGraphTask()
Method Detail

setGroupId

public void setGroupId(String groupId)

setArtifactId

public void setArtifactId(String artifactId)

setVersion

public void setVersion(String version)

setType

public void setType(String type)

setClassifier

public void setClassifier(String classifier)

setBaseGraph

public void setBaseGraph(String id)

setTolerateBrokenPOMs

public void setTolerateBrokenPOMs(boolean tolerateBrokenPOMs)
If true, ignore an artifact that fails to resolve.


buildGraph

protected DependencyGraph buildGraph(GraphFilter filter)
Transforms a graph by applying the given filter to thtese "source graph", which is determined by the various parameter to this task.



Copyright © 2011. All Rights Reserved.