public class TaskLogsImpl extends Object implements TaskLogs
Constructor and Description |
---|
TaskLogsImpl(String stdOutLogs,
String stdErrLogs,
String allLogs) |
Modifier and Type | Method and Description |
---|---|
String |
getAllLogs()
Return all the logs generated on standard and error output.
|
String |
getAllLogs(boolean timestamp)
Return all the logs generated on standard and error output.
|
String |
getStderrLogs()
Return the logs generated on error output.
|
String |
getStderrLogs(boolean timestamp)
Return the logs generated on error output.
|
String |
getStdoutLogs()
Return the logs generated on standard output.
|
String |
getStdoutLogs(boolean timestamp)
Return the logs generated on standard output.
|
public String getAllLogs(boolean timestamp)
TaskLogs
getAllLogs
in interface TaskLogs
timestamp
- get the logs with or without time tags.public String getStderrLogs(boolean timestamp)
TaskLogs
getStderrLogs
in interface TaskLogs
timestamp
- get the logs with or without time tags.public String getStdoutLogs(boolean timestamp)
TaskLogs
getStdoutLogs
in interface TaskLogs
timestamp
- get the logs with or without time tags.public String getStdoutLogs()
TaskLogs
getStdoutLogs
in interface TaskLogs
public String getStderrLogs()
TaskLogs
getStderrLogs
in interface TaskLogs
public String getAllLogs()
TaskLogs
getAllLogs
in interface TaskLogs