org.schmant.task.proxy
Class ReplaceSourceFileTF
java.lang.Object
org.schmant.task.stub.AbstractTaskFactory<T,U>
org.schmant.task.stub.AbstractActionTaskFactory<ReplaceSourceFileTF,ReplaceSourceFileTask>
org.schmant.task.proxy.ReplaceSourceFileTF
- All Implemented Interfaces:
- ActionTaskConfigurable<ReplaceSourceFileTF>, ActionTaskFactory<ReplaceSourceFileTF,ReplaceSourceFileTask>, LoggingConfigurable<ReplaceSourceFileTF>, SourceConfigurable<ReplaceSourceFileTF>, TaskFactoryConfigurable<ReplaceSourceFileTF>, TemporaryDirectoryConfigurable<ReplaceSourceFileTF>, TaskFactory<ReplaceSourceFileTF,ReplaceSourceFileTask>, TaskRunnable
public final class ReplaceSourceFileTF
- extends AbstractActionTaskFactory<ReplaceSourceFileTF,ReplaceSourceFileTask>
- implements TemporaryDirectoryConfigurable<ReplaceSourceFileTF>, TaskFactoryConfigurable<ReplaceSourceFileTF>
Factory for the ReplaceSourceFileTask
.
See ReplaceSourceFileTF
- Since:
- 0.5
- Author:
- Karl Gustafsson
- Task_package:
- org.schmant.task.base
Methods inherited from class org.schmant.task.stub.AbstractTaskFactory |
copy, create, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString |
ReplaceSourceFileTF
public ReplaceSourceFileTF()
setTaskFactory
public ReplaceSourceFileTF setTaskFactory(Object tf)
- Description copied from interface:
TaskFactoryConfigurable
- Set the task factory. This may be a task factory that creates tasks of
the type expected by the object implementing this method, or a closure.
- Specified by:
setTaskFactory
in interface TaskFactoryConfigurable<ReplaceSourceFileTF>
- Parameters:
tf
- A task factory or a closure.
- Returns:
this
addTaskFactory
public ReplaceSourceFileTF addTaskFactory(Object tf)
addTaskFactories
public ReplaceSourceFileTF addTaskFactories(Object o)
clearTaskFactories
public ReplaceSourceFileTF clearTaskFactories()
setTempDirectory
public ReplaceSourceFileTF setTempDirectory(Object o)
- Description copied from interface:
TemporaryDirectoryConfigurable
- Set a temporary files directory for the task.
- Specified by:
setTempDirectory
in interface TemporaryDirectoryConfigurable<ReplaceSourceFileTF>
- Parameters:
o
- The temporary files directory. This will be interpreted in some
way.
- Returns:
this
createSpecification
protected ReplaceSourceFileTask createSpecification()
- Description copied from class:
AbstractTaskFactory
- Subclasses implement this to create the task specification object that
this factory uses to configure the task that it is creating.
- Specified by:
createSpecification
in class AbstractTaskFactory<ReplaceSourceFileTF,ReplaceSourceFileTask>