|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildLogger
This interface represents a logger for a given build
Method Summary | |
---|---|
java.lang.String |
addBuildLogEntry(LogEntry logEntry)
Add a new build log entry. |
java.lang.String |
addBuildLogEntry(java.lang.String logString)
Create a new build log entry from text to append to logs |
java.lang.String |
addBuildLogHeader(java.lang.String logString,
boolean showBothBanner)
|
java.lang.String |
addErrorLogEntry(LogEntry logEntry)
Add a new build error log entry. |
java.lang.String |
addErrorLogEntry(java.lang.String logString)
Add a new build error log entry from text. |
void |
clearBuildLog()
Reset the build log, ready for the next build |
java.util.List<LogEntry> |
getBuildLog()
Provide the latest build details (last 100 lines of logs). |
java.util.List<LogEntry> |
getErrorLog()
Provide the latest error logs. |
java.util.List<java.lang.String> |
getStringErrorLogs()
|
long |
getTimeOfLastLog()
last time a log entry was added. |
void |
startStreamingBuildLogs(int buildNum,
java.lang.String planKey)
Begin streaming any logs to build logs file |
void |
stopStreamingBuildLogs()
Stop streaming any logs to the build logs file |
Method Detail |
---|
java.util.List<LogEntry> getBuildLog()
LogEntry
s. May return null.java.util.List<LogEntry> getErrorLog()
LogEntry
s. May return null.java.util.List<java.lang.String> getStringErrorLogs()
java.lang.String addBuildLogEntry(LogEntry logEntry)
logEntry
- The data being logged
LogEntry.getUnstyledLog()
.java.lang.String addBuildLogEntry(java.lang.String logString)
logString
- text to create log entry from
LogEntry.getUnstyledLog()
.java.lang.String addBuildLogHeader(java.lang.String logString, boolean showBothBanner)
java.lang.String addErrorLogEntry(LogEntry logEntry)
logEntry
- The data being logged
LogEntry.getUnstyledLog()
.java.lang.String addErrorLogEntry(java.lang.String logString)
logString
- The text to create log entry from
LogEntry.getUnstyledLog()
.void startStreamingBuildLogs(int buildNum, java.lang.String planKey)
buildNum
- planKey
- void stopStreamingBuildLogs()
void clearBuildLog()
long getTimeOfLastLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |