org.schmant.task.stub
Class AbstractRecursiveProcessTaskFactory<T extends AbstractRecursiveProcessTaskFactory<T,U>,U extends RecursiveProcessTaskSpec<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.AbstractRecursiveActionTaskFactory<T,U>
              extended by org.schmant.task.stub.AbstractRecursiveProcessTaskFactory<T,U>
All Implemented Interfaces:
ActionTaskConfigurable<T>, ActionTaskFactory<T,U>, LoggingConfigurable<T>, OverwriteConfigurable<T>, SourceConfigurable<T>, TargetConfigurable<T>, GeneratorTaskConfigurable<T>, GeneratorTaskFactory<T,U>, ProcessTaskConfigurable<T>, ProcessTaskFactory<T,U>, RecursiveActionTaskConfigurable<T>, RecursiveActionTaskFactory<T,U>, RecursiveProcessTaskConfigurable<T>, RecursiveProcessTaskFactory<T,U>, TaskFactory<T,U>, TaskRunnable
Direct Known Subclasses:
RecursiveProcessTF

public abstract class AbstractRecursiveProcessTaskFactory<T extends AbstractRecursiveProcessTaskFactory<T,U>,U extends RecursiveProcessTaskSpec<U>>
extends AbstractRecursiveActionTaskFactory<T,U>
implements RecursiveProcessTaskFactory<T,U>

This is a starting point for RecursiveProcessTaskFactory implementations.

Since:
0.5
Author:
Karl Gustafsson

Field Summary
 
Fields inherited from interface org.schmant.task.confable.OverwriteConfigurable
DEFAULT_OVERWRITE_STRATEGY
 
Constructor Summary
AbstractRecursiveProcessTaskFactory()
           
 
Method Summary
 T setOverwrite(boolean b)
          Should things be overwritten? If this is set to true, it is equivalent to setting the overwrite strategy to DoOverwriteAndLogWarning.
 T setOverwriteStrategy(OverwriteStrategy strat)
          Set a strategy for how to react to existing entities in locations where the task wants to write.
 T setTarget(Object o)
          Set the target.
 
Methods inherited from class org.schmant.task.stub.AbstractRecursiveActionTaskFactory
setDepthFirstIterator, setDisableHeaderLogging
 
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.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
 
Methods inherited from interface org.schmant.task.RecursiveActionTaskConfigurable
setDepthFirstIterator, setDisableHeaderLogging
 
Methods inherited from interface org.schmant.task.confable.SourceConfigurable
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 

Constructor Detail

AbstractRecursiveProcessTaskFactory

public AbstractRecursiveProcessTaskFactory()
Method Detail

setTarget

public final T setTarget(Object o)
Description copied from interface: TargetConfigurable
Set the target.

Specified by:
setTarget in interface TargetConfigurable<T extends AbstractRecursiveProcessTaskFactory<T,U>>
Parameters:
o - The target.
Returns:
this

setOverwrite

public final T setOverwrite(boolean b)
Description copied from interface: OverwriteConfigurable
Should things be overwritten? If this is set to true, it is equivalent to setting the overwrite strategy to DoOverwriteAndLogWarning. If this is set to false, it is equivalent to setting the overwrite strategy to DontOverwriteAndLogWarning.

Specified by:
setOverwrite in interface OverwriteConfigurable<T extends AbstractRecursiveProcessTaskFactory<T,U>>
Parameters:
b - Should things be overwritten?
Returns:
this

setOverwriteStrategy

public final T setOverwriteStrategy(OverwriteStrategy strat)
Description copied from interface: OverwriteConfigurable
Set a strategy for how to react to existing entities in locations where the task wants to write.

Specified by:
setOverwriteStrategy in interface OverwriteConfigurable<T extends AbstractRecursiveProcessTaskFactory<T,U>>
Parameters:
strat - The overwrite strategy.
Returns:
this