os.djtagger
Class TaskRunner
java.lang.Object
os.djtagger.TaskRunner
public class TaskRunner
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskRunner
public TaskRunner()
iterateOverTasks
protected java.util.Iterator<? extends Task> iterateOverTasks()
setTasks
public void setTasks(java.util.Collection<? extends Task> actions)
setFileFilter
public void setFileFilter(org.apache.commons.io.filefilter.IOFileFilter fileFilter)
setPathFilter
public void setPathFilter(org.apache.commons.io.filefilter.IOFileFilter pathFilter)
getStopProcessingOnError
public boolean getStopProcessingOnError()
setStopProcessingOnError
public void setStopProcessingOnError(boolean stopProcessingOnError)
getStopTasksForCurrentFileOnError
public boolean getStopTasksForCurrentFileOnError()
setStopTasksForCurrentFileOnError
public void setStopTasksForCurrentFileOnError(boolean stopTasksForCurrentFileOnError)
getDryRun
public boolean getDryRun()
setDryRun
public void setDryRun(boolean dryRun)
process
public void process()
processForTestcase
protected java.lang.String processForTestcase()
runActionsForTestcase
protected java.lang.String runActionsForTestcase(java.io.File file,
java.io.File currentName,
java.util.Iterator<? extends Action> actionI)
setOutputStream
public void setOutputStream(java.io.OutputStream out)
setErrorStream
public void setErrorStream(java.io.OutputStream err)
getFileCount
public int getFileCount()
getFileIdx
public int getFileIdx()
getPassCount
public int getPassCount()
getPassIdx
public int getPassIdx()
findActiveTaskRunner
public static TaskRunner findActiveTaskRunner()
getScanRoot
public java.io.File getScanRoot()
setScanRoot
public void setScanRoot(java.io.File scanRoot)
getPathFilter
public org.apache.commons.io.filefilter.IOFileFilter getPathFilter()
getFileFilter
public org.apache.commons.io.filefilter.IOFileFilter getFileFilter()
findTaskOfType
public Task findTaskOfType(Task lastBefore,
java.lang.Class taskType)
setTaggers
protected void setTaggers(java.util.List<? extends Tagger> taggers)
taggerForFile
public Tagger taggerForFile(java.io.File file)
createTaskGroups
public static Task[][] createTaskGroups(java.util.List<Task> tasks)
createTaskGroups
public static Task[][] createTaskGroups(Task[] tasks)
printDryRunInfo
public void printDryRunInfo(java.lang.String mess)
printWarning
public void printWarning(java.lang.String mess)
printInfo
public void printInfo(java.lang.String mess)
createDefaultTaggers
public static java.util.List<Tagger> createDefaultTaggers()
Copyright © 2007-2010 Pointbreak. All Rights Reserved.