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