|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.AbstractFileSet
org.apache.tools.ant.types.FileSet
org.apache.tools.ant.types.ArchiveFileSet
org.apache.tools.ant.types.TarFileSet
org.freecompany.redline.ant.RpmFileSet
public class RpmFileSet
A RpmFileSet is a {@link FileSet) to support RPM directives that can't be expressed
using ant's built-in {@code FileSet) classes.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.types.ArchiveFileSet |
|---|
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE |
| Fields inherited from class org.apache.tools.ant.types.DataType |
|---|
checked, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
|
RpmFileSet()
Constructor for RpmFileSet |
protected |
RpmFileSet(org.apache.tools.ant.types.FileSet fileset)
Constructor using a fileset arguement. |
protected |
RpmFileSet(RpmFileSet fileset)
Constructor using a archive fileset argument. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Return a ArchiveFileSet that has the same properties as this one. |
Directive |
getDirective()
|
void |
setConfig(boolean config)
Supports RPM's %config directive, used to flag the specified file as being a configuration file. |
void |
setDoc(boolean doc)
Supports RPM's %doc directive, which flags the files as being documentation. |
void |
setNoReplace(boolean noReplace)
Supports RPM's %config(noreplace) directive. |
| Methods inherited from class org.apache.tools.ant.types.TarFileSet |
|---|
configureFileSet, getGid, getGroup, getRef, getUid, getUserName, hasGroupBeenSet, hasGroupIdBeenSet, hasUserIdBeenSet, hasUserNameBeenSet, newArchiveScanner, setGid, setGroup, setRefid, setUid, setUserName |
| Methods inherited from class org.apache.tools.ant.types.ArchiveFileSet |
|---|
addConfigured, getDirectoryScanner, getDirMode, getDirMode, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, setDir, setDirMode, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toString |
| Methods inherited from class org.apache.tools.ant.types.AbstractFileSet |
|---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendExcludes, appendIncludes, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setupDirectoryScanner, setupDirectoryScanner |
| Methods inherited from class org.apache.tools.ant.types.DataType |
|---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RpmFileSet()
RpmFileSet
protected RpmFileSet(org.apache.tools.ant.types.FileSet fileset)
fileset - the FileSet to useprotected RpmFileSet(RpmFileSet fileset)
fileset - the RpmFileSet to use| Method Detail |
|---|
public Directive getDirective()
public void setConfig(boolean config)
%config directive, used to flag the specified file as being a configuration file.
RPM performs additional processing for config files when packages are erased, and during installations
and upgrades.
Permitted values for this directive are:
true (equivalent to specifying %config
false (equivalent to omitting %config)
config - to setdirectivepublic void setNoReplace(boolean noReplace)
%config(noreplace) directive. This directive modifies how RPM manages edited config
files.
Permitted values for this directive are:
true (equivalent to specifying %noreplace
false (equivalent to omitting %noreplace)
noReplace - to setdirectivepublic void setDoc(boolean doc)
%doc directive, which flags the files as being documentation. RPM keeps track of
documentation files in its database, so that a user can easily find information about an installed package.
Permitted values for this directive are:
true (equivalent to specifying %doc
false (equivalent to omitting %doc)
doc - to setdirectivepublic java.lang.Object clone()
clone in class org.apache.tools.ant.types.TarFileSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||