public class Source extends Object
| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestination() |
List<String> |
getExcludes()
Retrieve the list of files to exclude from the package.
|
List<String> |
getIncludes()
Retrieve the list of files to include in the package.
|
String |
getLocation()
Retrieve the location holding the file(s) to install.
|
boolean |
getNoDefaultExcludes()
Retrieve the default exclude status.
|
String |
getTargetArchitecture() |
String |
getTargetOSName() |
boolean |
isFilter() |
void |
setDestination(String destination)
Sets the destination file name.
|
void |
setExcludes(List<String> excl)
Set the list of files to exclude from the package.
|
void |
setFilter(boolean filter) |
void |
setIncludes(List<String> incl)
Set the list of files to include in the package.
|
void |
setLocation(String loc)
Set the location holding the file(s) to install.
|
void |
setNoDefaultExcludes(boolean noDefExcl)
Set the default exclude status.
|
void |
setTargetArchitecture(String targetArch)
Sets a
regular expression that indicates that the files defined are only applicable if the
expression matches the architecture. |
void |
setTargetOSName(String targetOSName)
Sets a
regular expression that indicates that the files defined are only applicable if the
expression matches the operating system name. |
String |
toString() |
public String getLocation()
public void setLocation(String loc)
loc - The new location holding the file(s) to install.public List<String> getIncludes()
public void setIncludes(List<String> incl)
incl - The new list of files to include in the package.public List<String> getExcludes()
public void setExcludes(List<String> excl)
excl - The new list of files to exclude from the package.public boolean getNoDefaultExcludes()
true if the default excludes should be omitted.public void setNoDefaultExcludes(boolean noDefExcl)
noDefExcl - true if the default excludes should be omitted.public String getDestination()
destination.setDestination(String)public void setDestination(String destination)
NOTE: This is only applicable if the location is a file, not
a directory.
destination - The destination that the location should be in the final rpm.public String getTargetArchitecture()
targetArchitecture.public void setTargetArchitecture(String targetArch)
regular expression that indicates that the files defined are only applicable if the
expression matches the architecture.
In order to be backwards compatible, the targetArch will be converted to lower
case for the purpose of comparison.
targetArch - The target architecture to set.public String getTargetOSName()
targetOSName.public void setTargetOSName(String targetOSName)
regular expression that indicates that the files defined are only applicable if the
expression matches the operating system name.targetOSName - The targetOSName to set.public boolean isFilter()
filter.public void setFilter(boolean filter)
filter - The filter to set.Copyright © 2005–2014 Codehaus. All rights reserved.