public class PrintWriterTaskContext extends Object implements TaskContext
PrintWriterTaskContext class.
| Constructor and Description |
|---|
PrintWriterTaskContext(PrintWriterLog log,
IConfig config,
boolean testOnly)
Constructor for PrintWriterTaskContext.
|
PrintWriterTaskContext(String name,
PrintWriter writer,
IConfig config,
boolean testOnly)
Constructor for PrintWriterTaskContext.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorMessage(String msg)
addErrorMessage.
|
IConfig |
getConfig()
getConfig.
|
String |
getErrorMessage()
getErrorMessage.
|
long |
getEstimated()
Getter for the field
estimated. |
MProperties |
getParameters()
getParameters.
|
long |
getStep()
Getter for the field
step. |
void |
incrementStep()
incrementStep.
|
boolean |
isTestOnly()
isTestOnly.
|
Log |
log()
log.
|
void |
print(Object... out)
print.
|
void |
println()
println.
|
void |
println(Object... out)
println.
|
void |
setStep(long step)
setStep.
|
void |
setSteps(long steps)
setSteps.
|
public PrintWriterTaskContext(String name, PrintWriter writer, IConfig config, boolean testOnly)
Constructor for PrintWriterTaskContext.
name - a String object.writer - a PrintWriter object.config - a IConfig object.testOnly - a boolean.public PrintWriterTaskContext(PrintWriterLog log, IConfig config, boolean testOnly)
Constructor for PrintWriterTaskContext.
log - a PrintWriterLog object.config - a IConfig object.testOnly - a boolean.public void println(Object... out)
println.
public void print(Object... out)
print.
public void setSteps(long steps)
setSteps.
public void setStep(long step)
setStep.
public void incrementStep()
incrementStep.
incrementStep in interface Monitorpublic IConfig getConfig()
getConfig.
getConfig in interface TaskContextIConfig object.public boolean isTestOnly()
isTestOnly.
isTestOnly in interface TaskContextpublic MProperties getParameters()
getParameters.
getParameters in interface TaskContextIProperties object.public long getEstimated()
Getter for the field estimated.
public long getStep()
Getter for the field step.
public void addErrorMessage(String msg)
addErrorMessage.
addErrorMessage in interface TaskContextmsg - a String object.public String getErrorMessage()
getErrorMessage.
getErrorMessage in interface TaskContextString object.Copyright © 2016. All Rights Reserved.