@PublicAPI public class SimpleTaskLogs extends Object implements TaskLogs
Constructor and Description |
---|
SimpleTaskLogs(String stdLogs,
String errLogs)
Create a new SimpleTaskLogs.
|
Modifier and Type | Method and Description |
---|---|
String |
getAllLogs()
Return all the logs generated on standard and error output.
|
String |
getAllLogs(boolean timeStamp)
Timestamp parameter is not relevant for this TaskLogs implementation.
|
String |
getStderrLogs()
Return the logs generated on error output.
|
String |
getStderrLogs(boolean timeStamp)
Timestamp parameter is not relevant for this TaskLogs implementation.
|
String |
getStdoutLogs()
Return the logs generated on standard output.
|
String |
getStdoutLogs(boolean timeStamp)
Timestamp parameter is not relevant for this TaskLogs implementation.
|
public String getAllLogs()
TaskLogs
getAllLogs
in interface TaskLogs
public String getStderrLogs()
TaskLogs
getStderrLogs
in interface TaskLogs
public String getStdoutLogs()
TaskLogs
getStdoutLogs
in interface TaskLogs
public String getAllLogs(boolean timeStamp)
getAllLogs
in interface TaskLogs
timeStamp
- get the logs with or without time tags.TaskLogs.getAllLogs(boolean)
public String getStderrLogs(boolean timeStamp)
getStderrLogs
in interface TaskLogs
timeStamp
- get the logs with or without time tags.TaskLogs.getStderrLogs(boolean)
public String getStdoutLogs(boolean timeStamp)
getStdoutLogs
in interface TaskLogs
timeStamp
- get the logs with or without time tags.TaskLogs.getStdoutLogs(boolean)