public class LibrarySet
extends org.apache.tools.ant.types.DataType
Constructor and Description |
---|
LibrarySet() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
String |
getDataset()
Gets the dataset.
|
File |
getDir(org.apache.tools.ant.Project project) |
protected org.apache.tools.ant.types.FileSet |
getFileSet() |
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(String dataset)
Sets the dataset.
|
void |
setDir(File dir)
Library directory.
|
void |
setIf(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(String propName)
Set the property name for the 'unless' condition.
|
void |
visitLibraries(org.apache.tools.ant.Project project,
Linker linker,
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
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public String getDataset()
public File getDir(org.apache.tools.ant.Project project)
protected org.apache.tools.ant.types.FileSet getFileSet()
public 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(String dataset)
dataset
- The dataset to setpublic void setDir(File dir) throws org.apache.tools.ant.BuildException
dir
- library directoryorg.apache.tools.ant.BuildException
public void setIf(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 setType(LibraryTypeEnum type)
public void setUnless(String propName)
propName
- name of propertypublic void visitLibraries(org.apache.tools.ant.Project project, Linker linker, File[] libpath, FileVisitor visitor) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.