org.schmant.task.template.proxy
Class AbstractProxyTaskFactory<T extends AbstractProxyTaskFactory<T,U>,U extends AbstractProxyTask<U>>

java.lang.Object
  extended by org.schmant.task.stub.AbstractTaskFactory<T,U>
      extended by org.schmant.task.stub.AbstractActionTaskFactory<T,U>
          extended by org.schmant.task.stub.AbstractProcessTaskFactory<T,U>
              extended by org.schmant.task.template.proxy.AbstractProxyTaskFactory<T,U>
All Implemented Interfaces:
ActionTaskConfigurable<T>, ActionTaskFactory<T,U>, LoggingConfigurable<T>, OverwriteConfigurable<T>, SourceConfigurable<T>, TargetConfigurable<T>, TaskFactoryConfigurable<T>, GeneratorTaskConfigurable<T>, GeneratorTaskFactory<T,U>, ProcessTaskConfigurable<T>, ProcessTaskFactory<T,U>, TaskFactory<T,U>, TaskRunnable, ProxyTaskConfigurable<T>
Direct Known Subclasses:
ErrorIgnoringTF, RedirectReportTF, TimedExecutionTF

public abstract class AbstractProxyTaskFactory<T extends AbstractProxyTaskFactory<T,U>,U extends AbstractProxyTask<U>>
extends AbstractProcessTaskFactory<T,U>
implements ProxyTaskConfigurable<T>

Abstract base class for proxy task factories.

Since:
0.5
Author:
Karl Gustafsson

Field Summary
 
Fields inherited from interface org.schmant.task.confable.OverwriteConfigurable
DEFAULT_OVERWRITE_STRATEGY
 
Constructor Summary
AbstractProxyTaskFactory()
           
 
Method Summary
 T setTaskFactory(Object tf)
          Set the task factory.
 
Methods inherited from class org.schmant.task.stub.AbstractProcessTaskFactory
setOverwrite, setOverwriteStrategy, setTarget
 
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, createSpecification, 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.confable.SourceConfigurable
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 
Methods inherited from interface org.schmant.task.confable.TargetConfigurable
setTarget
 
Methods inherited from interface org.schmant.task.confable.OverwriteConfigurable
setOverwrite, setOverwriteStrategy
 
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

AbstractProxyTaskFactory

public AbstractProxyTaskFactory()
Method Detail

setTaskFactory

public final T 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<T extends AbstractProxyTaskFactory<T,U>>
Parameters:
tf - A task factory or a closure.
Returns:
this