public class LibrarySet
extends org.apache.tools.ant.types.DataType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dataset |
private boolean |
explicitCaseSensitive |
private java.lang.String |
ifCond |
private java.lang.String[] |
libnames |
private LibraryTypeEnum |
libraryType |
private org.apache.tools.ant.types.FileSet |
set |
private java.lang.String |
unlessCond |
Constructor and Description |
---|
LibrarySet() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
java.lang.String |
getDataset()
Gets the dataset.
|
java.io.File |
getDir(org.apache.tools.ant.Project project) |
protected org.apache.tools.ant.types.FileSet |
getFileSet() |
java.lang.String[] |
getLibs() |
LibraryTypeEnum |
getType()
Gets preferred library type
|
boolean |
isActive(org.apache.tools.ant.Project p)
Returns true if the define's if and unless conditions (if any) are
satisfied.
|
void |
setCaseSensitive(boolean isCaseSensitive)
Sets case sensitivity of the file system.
|
void |
setDataset(java.lang.String dataset)
Sets the dataset.
|
void |
setDir(java.io.File dir)
Library directory.
|
void |
setIf(java.lang.String propName)
Sets the property name for the 'if' condition.
|
void |
setLibs(CUtil.StringArrayBuilder libs)
Comma-separated list of library names without leading prefixes, such as
"lib", or extensions, such as ".so" or ".a".
|
void |
setProject(org.apache.tools.ant.Project project) |
void |
setType(LibraryTypeEnum type)
Sets the preferred library type.
|
void |
setUnless(java.lang.String propName)
Set the property name for the 'unless' condition.
|
void |
visitLibraries(org.apache.tools.ant.Project project,
Linker linker,
java.io.File[] libpath,
FileVisitor visitor) |
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
private java.lang.String dataset
private boolean explicitCaseSensitive
private java.lang.String ifCond
private java.lang.String[] libnames
private final org.apache.tools.ant.types.FileSet set
private java.lang.String unlessCond
private LibraryTypeEnum libraryType
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public java.lang.String getDataset()
public java.io.File getDir(org.apache.tools.ant.Project project)
protected org.apache.tools.ant.types.FileSet getFileSet()
public java.lang.String[] getLibs()
public LibraryTypeEnum getType()
public boolean isActive(org.apache.tools.ant.Project p)
public void setCaseSensitive(boolean isCaseSensitive)
isCaseSensitive
- "true"|"on"|"yes" if file system is case sensitive,
"false"|"off"|"no" when not.public void setDataset(java.lang.String dataset)
dataset
- The dataset to setpublic void setDir(java.io.File dir) throws org.apache.tools.ant.BuildException
dir
- library directoryorg.apache.tools.ant.BuildException
public void setIf(java.lang.String propName)
propName
- property namepublic void setLibs(CUtil.StringArrayBuilder libs) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setProject(org.apache.tools.ant.Project project)
setProject
in class org.apache.tools.ant.ProjectComponent
public void setUnless(java.lang.String propName)
propName
- name of propertypublic void setType(LibraryTypeEnum type)
public void visitLibraries(org.apache.tools.ant.Project project, Linker linker, java.io.File[] libpath, FileVisitor visitor) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException