public class PrintWriterTaskContext extends Object implements TaskContext
| Constructor and Description |
|---|
PrintWriterTaskContext(PrintWriterLog log,
IConfig config,
boolean testOnly) |
PrintWriterTaskContext(String name,
PrintWriter writer,
IConfig config,
boolean testOnly) |
| Modifier and Type | Method and Description |
|---|---|
MProperties |
getAttributes() |
IConfig |
getConfig() |
long |
getEstimated() |
long |
getStep() |
void |
incrementStep() |
boolean |
isTestOnly() |
Log |
log() |
void |
print(Object... out) |
void |
println() |
void |
println(Object... out) |
void |
setCurrentStep(long step) |
void |
setEstimatedSteps(long steps) |
public PrintWriterTaskContext(String name, PrintWriter writer, IConfig config, boolean testOnly)
public PrintWriterTaskContext(PrintWriterLog log, IConfig config, boolean testOnly)
public void setEstimatedSteps(long steps)
setEstimatedSteps in interface Monitorpublic void setCurrentStep(long step)
setCurrentStep in interface Monitorpublic void incrementStep()
incrementStep in interface Monitorpublic IConfig getConfig()
getConfig in interface TaskContextpublic boolean isTestOnly()
isTestOnly in interface TaskContextpublic MProperties getAttributes()
getAttributes in interface TaskContextpublic long getEstimated()
public long getStep()
Copyright © 2014. All rights reserved.