org.schmant.task.stub
Class AbstractRecursiveActionTaskFactory<T extends AbstractRecursiveActionTaskFactory<T,U>,U extends RecursiveActionTaskSpec<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>
All Implemented Interfaces:
ActionTaskConfigurable<T>, ActionTaskFactory<T,U>, LoggingConfigurable<T>, SourceConfigurable<T>, RecursiveActionTaskConfigurable<T>, RecursiveActionTaskFactory<T,U>, TaskFactory<T,U>, TaskRunnable
Direct Known Subclasses:
AbstractRecursiveProcessTaskFactory, RecursiveActionTF

public abstract class AbstractRecursiveActionTaskFactory<T extends AbstractRecursiveActionTaskFactory<T,U>,U extends RecursiveActionTaskSpec<U>>
extends AbstractActionTaskFactory<T,U>
implements RecursiveActionTaskFactory<T,U>

This is a starting point for RecursiveActionTaskFactory implementations.

Since:
0.5
Author:
Karl Gustafsson

Constructor Summary
AbstractRecursiveActionTaskFactory()
           
 
Method Summary
 T setDepthFirstIterator(boolean b)
          Should a depth first iterator be used?
 T setDisableHeaderLogging(boolean b)
          Should logging for nested tasks be disabled?
 
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.confable.SourceConfigurable
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 

Constructor Detail

AbstractRecursiveActionTaskFactory

public AbstractRecursiveActionTaskFactory()
Method Detail

setDepthFirstIterator

public final T setDepthFirstIterator(boolean b)
Description copied from interface: RecursiveActionTaskConfigurable
Should a depth first iterator be used?

Specified by:
setDepthFirstIterator in interface RecursiveActionTaskConfigurable<T extends AbstractRecursiveActionTaskFactory<T,U>>
Parameters:
b - true if a depth first iterator should be used.
Returns:
this

setDisableHeaderLogging

public final T setDisableHeaderLogging(boolean b)
Description copied from interface: RecursiveActionTaskConfigurable
Should logging for nested tasks be disabled?

By default, logging is disabled.

Specified by:
setDisableHeaderLogging in interface RecursiveActionTaskConfigurable<T extends AbstractRecursiveActionTaskFactory<T,U>>
Parameters:
b - true if logging for nested tasks should be disabled.
Returns:
this