|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.task.stub.AbstractTaskFactory<T,U>
org.schmant.task.template.process.AbstractExtProcessTaskFactory<AntTF,AntTask>
org.schmant.task.apache.ant.AntTF
public final class AntTF
Factory for the AntTask.
See AntTF
AntTask| Constructor Summary | |
|---|---|
AntTF()
|
|
| Method Summary | |
|---|---|
AntTF |
addLibPathDecorator(PathDecorator<?,?> cd)
Add one path decorator. |
AntTF |
addLibPathDecorators(Object o)
Add one or several library path decorators. |
AntTF |
addLibPathEntries(Object o)
This method does the same as LibPathConfigurable.addLibPathEntry(Object). |
AntTF |
addLibPathEntry(Object o)
Add one entry to the library path. |
AntTF |
addProperties(Map<String,String> m)
|
AntTF |
addProperty(String name,
String value)
|
AntTF |
addSource(Object o)
Add one or several sources. |
AntTF |
addSources(Object o)
This method does the same as SourceConfigurable.addSource(Object) |
AntTF |
addTarget(String name)
|
AntTF |
addTargets(Object o)
|
AntTF |
clearLibPathDecorators()
|
AntTF |
clearLibPathEntries()
|
AntTF |
clearProperties()
|
AntTF |
clearSources()
Clear the collection of sources. |
AntTF |
clearTargets()
|
protected AntTask |
createSpecification()
Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating. |
AntTF |
setEmacsLogging(boolean b)
|
AntTF |
setKeepGoing(boolean b)
|
AntTF |
setLogFile(Object o)
|
AntTF |
setLogLevel(AntLogLevel l)
|
AntTF |
setNoUserLib(boolean b)
|
AntTF |
setPropertyFile(Object o)
|
AntTF |
setRelativeToBase(RelativeLocation rl)
This property is set with the task's source's location relative to a base location if the task is run within a recursive task. |
AntTF |
setSource(Object o)
Set one or several sources, discarding previously set sources. |
AntTF |
setSourceBody(String s)
Default target is "doit", basedir="." (Schmant script directory) |
AntTF |
setSources(Object o)
This method does the same as SourceConfigurable.setSource(Object) |
AntTF |
setSourceTargetBody(String s)
When using only one Ant target in the script. |
| Methods inherited from class org.schmant.task.template.process.AbstractExtProcessTaskFactory |
|---|
addArgument, addArguments, addEnvironmentVariable, addEnvironmentVariables, clearArguments, clearEnvironmentVariables, setFailOnErrors, setInheritEnvironmentVariables, setStderrStrategy, setStdoutStrategy, setWorkingDirectory |
| Methods inherited from class org.schmant.task.stub.AbstractTaskFactory |
|---|
copy, create, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.schmant.task.TaskFactory |
|---|
copy, create, getLastCreated, getSpecification |
| Methods inherited from interface org.schmant.task.confable.LoggingConfigurable |
|---|
setLogFooter, setLogHeader, setReportLevel, setTraceLogging |
| Methods inherited from interface org.schmant.task.TaskRunnable |
|---|
run |
| Constructor Detail |
|---|
public AntTF()
| Method Detail |
|---|
public AntTF setSource(Object o)
SourceConfigurable
setSource in interface SourceConfigurable<AntTF>o - The source. If this is a Collection or an
array, it is flattened (see
FlatteningList), and all objects in
the collection or array are set.
thispublic AntTF setSources(Object o)
SourceConfigurableSourceConfigurable.setSource(Object)
setSources in interface SourceConfigurable<AntTF>o - The source or sources.
thispublic AntTF addSource(Object o)
SourceConfigurable
addSource in interface SourceConfigurable<AntTF>o - The source. If this is a Collection or an
array, it is flattened (see
FlatteningList), and all sources in the
collection or array are added.
thispublic AntTF addSources(Object o)
SourceConfigurableSourceConfigurable.addSource(Object)
addSources in interface SourceConfigurable<AntTF>o - The source or sources.
thispublic AntTF clearSources()
SourceConfigurable
clearSources in interface SourceConfigurable<AntTF>this.public AntTF setSourceBody(String s)
AntConfigurable
setSourceBody in interface AntConfigurable<AntTF>public AntTF setSourceTargetBody(String s)
AntConfigurable
setSourceTargetBody in interface AntConfigurable<AntTF>public AntTF setRelativeToBase(RelativeLocation rl)
SourceConfigurable
If the SourceConfigurable (this object) is an action task factory
that is used in a recursive action task, the recursive action
task sets this property for each created task.
setRelativeToBase in interface SourceConfigurable<AntTF>rl - The source's location relative to the base location.
this
public AntTF addProperty(String name,
String value)
addProperty in interface AntConfigurable<AntTF>public AntTF addProperties(Map<String,String> m)
addProperties in interface AntConfigurable<AntTF>public AntTF clearProperties()
clearProperties in interface AntConfigurable<AntTF>public AntTF setLogLevel(AntLogLevel l)
setLogLevel in interface AntConfigurable<AntTF>public AntTF setLogFile(Object o)
setLogFile in interface AntConfigurable<AntTF>public AntTF addTarget(String name)
addTarget in interface AntConfigurable<AntTF>public AntTF addTargets(Object o)
addTargets in interface AntConfigurable<AntTF>public AntTF clearTargets()
clearTargets in interface AntConfigurable<AntTF>public AntTF setEmacsLogging(boolean b)
setEmacsLogging in interface AntConfigurable<AntTF>public AntTF setKeepGoing(boolean b)
setKeepGoing in interface AntConfigurable<AntTF>public AntTF setPropertyFile(Object o)
setPropertyFile in interface AntConfigurable<AntTF>public AntTF setNoUserLib(boolean b)
setNoUserLib in interface AntConfigurable<AntTF>public AntTF addLibPathEntry(Object o)
LibPathConfigurable
addLibPathEntry in interface LibPathConfigurable<AntTF>o - The entry or entries. If this is a Collection
or an array, it is flattened (see
FlatteningList). It is up to the object
using this to decide how the lib path entry objects should be interpreted.
thispublic AntTF addLibPathEntries(Object o)
LibPathConfigurableLibPathConfigurable.addLibPathEntry(Object).
addLibPathEntries in interface LibPathConfigurable<AntTF>o - The entry or entries. If this is a Collection
or an array, it is flattened (see
FlatteningList). It is up to the object
using this to decide how the lib path entry objects should be interpreted.
thispublic AntTF clearLibPathEntries()
clearLibPathEntries in interface LibPathConfigurable<AntTF>public AntTF addLibPathDecorator(PathDecorator<?,?> cd)
LibPathConfigurable
addLibPathDecorator in interface LibPathConfigurable<AntTF>thispublic AntTF addLibPathDecorators(Object o)
LibPathConfigurable
addLibPathDecorators in interface LibPathConfigurable<AntTF>o - A library path decorator or an array or Collection
of library path decorators (PathDecorator objects).
thispublic AntTF clearLibPathDecorators()
clearLibPathDecorators in interface LibPathConfigurable<AntTF>protected AntTask createSpecification()
AbstractTaskFactory
createSpecification in class AbstractTaskFactory<AntTF,AntTask>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||