org.schmant.task.proxy
Class ReplaceSourceFileTF

java.lang.Object
  extended by org.schmant.task.stub.AbstractTaskFactory<T,U>
      extended by org.schmant.task.stub.AbstractActionTaskFactory<ReplaceSourceFileTF,ReplaceSourceFileTask>
          extended by 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

Constructor Summary
ReplaceSourceFileTF()
           
 
Method Summary
 ReplaceSourceFileTF addTaskFactories(Object o)
           
 ReplaceSourceFileTF addTaskFactory(Object tf)
           
 ReplaceSourceFileTF clearTaskFactories()
           
protected  ReplaceSourceFileTask createSpecification()
          Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.
 ReplaceSourceFileTF setTaskFactory(Object tf)
          Set the task factory.
 ReplaceSourceFileTF setTempDirectory(Object o)
          Set a temporary files directory for the task.
 
Methods inherited from class org.schmant.task.stub.AbstractActionTaskFactory
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 
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

ReplaceSourceFileTF

public ReplaceSourceFileTF()
Method Detail

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>