public class LocationResolver extends java.lang.Object implements ExtensionResolver
Constructor and Description |
---|
LocationResolver() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
resolve(Extension extension,
Project project)
Returns the resolved file
|
void |
setLocation(java.lang.String location)
Sets the location for this resolver
|
java.lang.String |
toString()
Returns a string representation of the Location
|
public void setLocation(java.lang.String location)
location
- the locationpublic java.io.File resolve(Extension extension, Project project) throws BuildException
resolve
in interface ExtensionResolver
extension
- the extensionproject
- the projectBuildException
- if no location is setpublic java.lang.String toString()
toString
in class java.lang.Object