public final class PrecompileDef
extends org.apache.tools.ant.types.DataType
| 构造器和说明 |
|---|
PrecompileDef()
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
appendExceptFileSet(ConditionalFileSet exceptSet)
Method used by PrecompileExceptDef to add exception set to
PrecompileDef.
|
PrecompileExceptDef |
createExcept()
Adds filesets that specify files that should not be processed with
precompiled headers enabled.
|
void |
execute() |
String[] |
getExceptFiles() |
File |
getPrototype()
Gets prototype source file
|
boolean |
isActive() |
void |
setDescription(String desc)
Sets a description of the current data type.
|
void |
setId(String id)
Sets an id that can be used to reference this element.
|
void |
setIf(String propName)
Set the 'if' condition.
|
void |
setPrototype(File prototype)
Sets file to precompile.
|
void |
setRefid(org.apache.tools.ant.types.Reference ref)
Specifies that this element should behave as if the content of the
element with the matching id attribute was inserted at this location.
|
void |
setUnless(String propName)
Set the 'unless' condition.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toStringpublic void appendExceptFileSet(ConditionalFileSet exceptSet)
public PrecompileExceptDef createExcept()
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic String[] getExceptFiles()
public File getPrototype()
public boolean isActive()
public void setDescription(String desc)
setDescription 在类中 org.apache.tools.ant.ProjectComponentpublic void setId(String id)
id - idpublic void setIf(String propName)
propName - name of propertypublic void setPrototype(File prototype)
prototype - file path for prototype source filepublic void setRefid(org.apache.tools.ant.types.Reference ref)
setRefid 在类中 org.apache.tools.ant.types.DataTyperef - Reference to other elementpublic void setUnless(String propName)
propName - name of propertyCopyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.