public class WeaverSettings
extends org.apache.tools.ant.types.DataType
target attribute - Fileclasspath attribute - Path (incompatible with classpathref)classpathref attribute - String (incompatible with classpath)includeSystemClasspath attribute - booleanpropertyset - PropertySetproperties - InlinePropertiespropertyset and properties are merged, with the latter taking precedence.| Constructor and Description |
|---|
WeaverSettings(org.apache.tools.ant.Project project)
Create a new
WeaverSettings object. |
| Modifier and Type | Method and Description |
|---|---|
InlineProperties |
createProperties()
Create the nested
properties. |
org.apache.tools.ant.types.PropertySet |
createPropertySet()
Create a nested
propertyset. |
org.apache.tools.ant.types.Path |
getClasspath()
Get the
classpath. |
List<String> |
getClasspathEntries()
|
String |
getClasspathref()
Get the
classpathref. |
Properties |
getProperties()
Merge nested
propertyset and properties; latter takes precedence. |
File |
getTarget()
Get the
target directory. |
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Set the
classpath. |
void |
setClasspathRef(String classpathref)
Set the
classpathref. |
void |
setIncludeSystemClasspath(boolean includeSystemClasspath)
Set whether to include the system classpath.
|
void |
setTarget(File target)
Set the
target directory. |
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringpublic WeaverSettings(org.apache.tools.ant.Project project)
WeaverSettings object.project - ownerpublic void setClasspathRef(String classpathref)
classpathref.classpathref - Stringpublic List<String> getClasspathEntries()
List of String
filesystem paths. If includeSystemClasspath, system classpath will be appended.public org.apache.tools.ant.types.Path getClasspath()
classpath.Pathpublic void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath.classpath - Pathpublic InlineProperties createProperties()
properties.InlinePropertiespublic org.apache.tools.ant.types.PropertySet createPropertySet()
propertyset.PropertySetpublic void setIncludeSystemClasspath(boolean includeSystemClasspath)
includeSystemClasspath - the includeSystemClasspath to setPath.systemClasspathpublic Properties getProperties()
propertyset and properties; latter takes precedence.PropertiesCopyright © 2018 The Apache Software Foundation. All rights reserved.