org.codehaus.mojo.rpm
Class Dependency

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

public class Dependency
extends java.lang.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
 java.util.List getExcludes()
          Retrieve the list of dependencies to exclude.
 java.util.List getIncludes()
          Retrieve the list of dependencies to include.
 void setExcludes(java.util.List excls)
          Set the list of dependencies to exclude.
 void setIncludes(java.util.List incls)
          Set the list of dependencies to include.
 java.lang.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 java.util.List getIncludes()
Retrieve the list of dependencies to include.

Returns:
The list of dependencies to include.

setIncludes

public void setIncludes(java.util.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 java.util.List getExcludes()
Retrieve the list of dependencies to exclude.

Returns:
The list of dependencies to exclude.

setExcludes

public void setExcludes(java.util.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 java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2005-2009. All Rights Reserved.