org.codehaus.mojo.rpm
Class Source

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

public class Source
extends java.lang.Object

A description of a location where files to be packaged can be found.

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

Constructor Summary
Source()
           
 
Method Summary
 java.util.List getExcludes()
          Retrieve the list of files to exclude from the package.
 java.util.List getIncludes()
          Retrieve the list of files to include in the package.
 java.io.File getLocation()
          Retrieve the location holding the file(s) to install.
 boolean getNoDefaultExcludes()
          Retrieve the default exclude status.
 void setExcludes(java.util.List excl)
          Set the list of files to exclude from the package.
 void setIncludes(java.util.List incl)
          Set the list of files to include in the package.
 void setLocation(java.io.File loc)
          Set the location holding the file(s) to install.
 void setNoDefaultExcludes(boolean noDefExcl)
          Set the default exclude status.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Source

public Source()
Method Detail

getLocation

public java.io.File getLocation()
Retrieve the location holding the file(s) to install.

Returns:
The location holding the file(s) to install.

setLocation

public void setLocation(java.io.File loc)
Set the location holding the file(s) to install.

Parameters:
loc - The new location holding the file(s) to install.

getIncludes

public java.util.List getIncludes()
Retrieve the list of files to include in the package.

Returns:
The list of files to include in the package.

setIncludes

public void setIncludes(java.util.List incl)
Set the list of files to include in the package.

Parameters:
incl - The new list of files to include in the package.

getExcludes

public java.util.List getExcludes()
Retrieve the list of files to exclude from the package.

Returns:
The list of files to exclude from the package.

setExcludes

public void setExcludes(java.util.List excl)
Set the list of files to exclude from the package.

Parameters:
excl - The new list of files to exclude from the package.

getNoDefaultExcludes

public boolean getNoDefaultExcludes()
Retrieve the default exclude status.

Returns:
true if the default excludes should be omitted.

setNoDefaultExcludes

public void setNoDefaultExcludes(boolean noDefExcl)
Set the default exclude status.

Parameters:
noDefExcl - true if the default excludes should be omitted.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2005-2009. All Rights Reserved.