public class WeaverSettings extends org.apache.tools.ant.types.DataType
target
attribute - File
classpath
attribute - Path
(incompatible with classpathref
)classpathref
attribute - String
(incompatible with classpath
)propertyset
- PropertySet
properties
- InlineProperties
propertyset
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 |
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, toString
public WeaverSettings(org.apache.tools.ant.Project project)
WeaverSettings
object.project
- ownerpublic String getClasspathref()
classpathref
.String
public void setClasspathRef(String classpathref)
classpathref
.classpathref
- String
public List<String> getClasspathEntries()
List
of String
filesystem paths.public org.apache.tools.ant.types.Path getClasspath()
classpath
.Path
public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath
.classpath
- Path
public InlineProperties createProperties()
properties
.InlineProperties
public org.apache.tools.ant.types.PropertySet createPropertySet()
propertyset
.PropertySet
public Properties getProperties()
propertyset
and properties
; latter takes precedence.Copyright © 2014 The Apache Software Foundation. All rights reserved.