org.codehaus.mojo.rpm
Class Dependency

java.lang.Object
  extended by org.codehaus.mojo.rpm.Dependency

public class Dependency
extends Object

A description of the set of project dependencies to include in the mapping. If no includes or excludes are specified, all dependencies will be included in the mapping.

Each include or exclude should be specified in the form: "groupID:artifactID[:version]" Any field can be specified as "*" which means any value is a match. If version is omitted (it usually is), it is the same as specifying "*".

Version:
$Id: Dependency.java 6588 2008-03-28 12:22:57Z bentmann $

Constructor Summary
Dependency()
           
 
Method Summary
 List getExcludes()
          Retrieve the list of dependencies to exclude.
 List getIncludes()
          Retrieve the list of dependencies to include.
 void setExcludes(List excls)
          Set the list of dependencies to exclude.
 void setIncludes(List incls)
          Set the list of dependencies to include.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dependency

public Dependency()
Method Detail

getIncludes

public List getIncludes()
Retrieve the list of dependencies to include.

Returns:
The list of dependencies to include.

setIncludes

public void setIncludes(List incls)
                 throws org.apache.maven.plugin.MojoExecutionException
Set the list of dependencies to include.

Parameters:
incls - The new list of dependencies to include.
Throws:
org.apache.maven.plugin.MojoExecutionException - if the parse fails

getExcludes

public List getExcludes()
Retrieve the list of dependencies to exclude.

Returns:
The list of dependencies to exclude.

setExcludes

public void setExcludes(List excls)
                 throws org.apache.maven.plugin.MojoExecutionException
Set the list of dependencies to exclude.

Parameters:
excls - The new list of dependencies to exclude.
Throws:
org.apache.maven.plugin.MojoExecutionException - if the parse fails

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2005-2011 Codehaus. All Rights Reserved.