public class AntResolver extends java.lang.Object implements ExtensionResolver
Constructor and Description |
---|
AntResolver() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
resolve(Extension extension,
Project project)
Returns the resolved file
|
void |
setAntfile(java.io.File antfile)
Sets the ant file
|
void |
setDestfile(java.io.File destfile)
Sets the destination file
|
void |
setTarget(java.lang.String target)
Sets the target
|
java.lang.String |
toString()
Returns a string representation
|
public void setAntfile(java.io.File antfile)
antfile
- the ant file to setpublic void setDestfile(java.io.File destfile)
destfile
- the destination filepublic void setTarget(java.lang.String target)
target
- the targetpublic java.io.File resolve(Extension extension, Project project) throws BuildException
resolve
in interface ExtensionResolver
extension
- the extensionproject
- the projectBuildException
- if the file cannot be resolvedpublic java.lang.String toString()
toString
in class java.lang.Object