|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.Property gate.util.ant.packager.PackageGappTask.MappingHint
public class PackageGappTask.MappingHint
Class to represent a nested hint
element. Typically
this will be a simple <hint from="X" to="Y" />
but the MappingHint class actually extends the property task, so it
can read hints in Properties-file format using
<hint file="hints.properties" />
.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.Property |
---|
classpath, env, file, name, prefix, ref, resource, url, userProperty, value |
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
PackageGappTask.MappingHint()
|
Method Summary | |
---|---|
protected void |
addProperty(String n,
String v)
Rather than adding properties to the project, add mapping hints to the task. |
void |
setAbsolute(boolean absolute)
Should files matching this hint be made absolute? |
void |
setFrom(File from)
|
void |
setTo(String to)
|
Methods inherited from class org.apache.tools.ant.taskdefs.Property |
---|
addProperties, addProperty, addText, createClasspath, execute, getClasspath, getEnvironment, getFile, getName, getPrefix, getRefid, getResource, getUrl, getValue, loadEnvironment, loadFile, loadResource, loadUrl, setBasedir, setClasspath, setClasspathRef, setEnvironment, setFile, setLocation, setName, setPrefix, setRefid, setRelative, setResource, setUrl, setUserProperty, setValue, setValue, toString |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PackageGappTask.MappingHint()
Method Detail |
---|
public void setFrom(File from)
public void setTo(String to)
public void setAbsolute(boolean absolute)
protected void addProperty(String n, String v)
addProperty
in class org.apache.tools.ant.taskdefs.Property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |