Modifier and Type | Class and Description |
---|---|
class |
BuildOutputLogEntry |
class |
CommandLogEntry |
class |
ErrorLogEntry |
class |
SimpleLogEntry
Simple POJO for representing build build events.
|
Modifier and Type | Method and Description |
---|---|
LogEntry |
ErrorLogEntry.cloneAndMutate(String newUnstyledLog) |
LogEntry |
SimpleLogEntry.cloneAndMutate(String newUnstyledLog) |
LogEntry |
CommandLogEntry.cloneAndMutate(String newUnstyledLog) |
LogEntry |
BuildOutputLogEntry.cloneAndMutate(String newUnstyledLog) |
LogEntry |
LogEntry.cloneAndMutate(String newUnstyledLog)
Return new instance of LogEntry with log string replaced.
|
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
ViewBuildLogs.getBuildLogs() |
Modifier and Type | Method and Description |
---|---|
void |
ViewBuildLogs.setBuildLogs(List<LogEntry> buildLogs) |
Modifier and Type | Method and Description |
---|---|
static LogEntry |
BuildLogUtils.convertToLogEntry(String fileEntry)
Converts a line from a file back into a LogEntry object
|
protected LogEntry |
AbstractBuildLogger.interceptAndMutate(LogEntry logEntry) |
protected LogEntry |
AbstractBuildLogger.interceptAndMutateError(LogEntry logEntry) |
LogEntry |
LogMutator.mutate(LogEntry logEntry)
Method invoked whenever a new log entry is logged
|
LogEntry |
LogMutatorStack.mutate(LogEntry logEntry) |
LogEntry |
LogMutator.mutateError(LogEntry logEntry)
Method invoked whenever a new error log entry is logged
|
LogEntry |
LogMutatorStack.mutateError(LogEntry logEntry) |
LogEntry |
BuildLogFileAccessor.nextLogEntry()
Requires file to be opened for iteration
|
LogEntry |
BuildLogFileAccessor.searchFileForEntry(String textToSearchFor,
boolean searchInErrorMessages)
Looks incrementally through the file to see if the specified text exists
|
LogEntry |
BuildLogFileAccessor.searchFileForEntry(String textToSearchFor,
int lastNLines,
boolean searchInErrorMessages)
Searchers for particular text within the last n lines of a file (eg search within the last 10 lines for a success message)
|
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
AbstractBuildLogger.getBuildLog() |
List<LogEntry> |
NullBuildLogger.getBuildLog() |
List<LogEntry> |
SimpleBuildLogger.getBuildLog() |
List<LogEntry> |
BuildLogger.getBuildLog()
Deprecated.
since 5.5 use log interceptors to get this information
|
List<LogEntry> |
AbstractBuildLogger.getErrorLog() |
List<LogEntry> |
NullBuildLogger.getErrorLog() |
List<LogEntry> |
SimpleBuildLogger.getErrorLog() |
List<LogEntry> |
BuildLogger.getErrorLog()
Deprecated.
since 5.5 use log interceptors to get this information
|
List<LogEntry> |
AbstractBuildLogger.getLastNLogEntries(int n) |
List<LogEntry> |
NullBuildLogger.getLastNLogEntries(int n) |
List<LogEntry> |
SimpleBuildLogger.getLastNLogEntries(int n) |
List<LogEntry> |
BuildLogger.getLastNLogEntries(int n)
Provide the latest build details (last n lines of logs).
|
List<LogEntry> |
BuildLogFileAccessor.getLastNLogs(int numLogs)
Retrives a List of the last N logs.
|
List<LogEntry> |
BuildLogFileAccessor.getLastNLogsOfType(int numLogs,
Collection<Class<?>> types) |
static Class<? extends LogEntry> |
BuildLogUtils.getLogEntryType(String logLine)
Return the specific type of
LogEntry for the given log line. |
Modifier and Type | Method and Description |
---|---|
String |
AbstractBuildLogger.addBuildLogEntry(LogEntry logEntry) |
String |
NullBuildLogger.addBuildLogEntry(LogEntry logEntry) |
String |
SimpleBuildLogger.addBuildLogEntry(LogEntry logEntry) |
String |
BuildLogger.addBuildLogEntry(LogEntry logEntry)
Add a new build log entry.
|
String |
AbstractBuildLogger.addErrorLogEntry(LogEntry logEntry) |
String |
NullBuildLogger.addErrorLogEntry(LogEntry logEntry) |
String |
SimpleBuildLogger.addErrorLogEntry(LogEntry logEntry) |
String |
BuildLogger.addErrorLogEntry(LogEntry logEntry)
Add a new build error log entry.
|
protected String |
AbstractBuildLogger.addErrorLogEntryInternal(LogEntry logEntry) |
protected String |
AbstractBuildLogger.addLogEntry(LogEntry logEntry) |
static String |
BuildLogUtils.convertToLogFileEntry(LogEntry logEntry)
Convert the specified LogEntry object into a string to be written to a log file
|
void |
LogInterceptorAdapter.intercept(LogEntry logEntry) |
void |
LogInterceptorStack.intercept(LogEntry logEntry) |
void |
LogInterceptor.intercept(LogEntry logEntry)
Method invoked whenever a new log entry is logged
|
protected LogEntry |
AbstractBuildLogger.interceptAndMutate(LogEntry logEntry) |
protected LogEntry |
AbstractBuildLogger.interceptAndMutateError(LogEntry logEntry) |
void |
LogInterceptorAdapter.interceptError(LogEntry logEntry) |
void |
LogInterceptorStack.interceptError(LogEntry logEntry) |
void |
LogInterceptor.interceptError(LogEntry logEntry)
Method invoked whenever a new error log entry is logged
|
LogEntry |
LogMutator.mutate(LogEntry logEntry)
Method invoked whenever a new log entry is logged
|
LogEntry |
LogMutatorStack.mutate(LogEntry logEntry) |
LogEntry |
LogMutator.mutateError(LogEntry logEntry)
Method invoked whenever a new error log entry is logged
|
LogEntry |
LogMutatorStack.mutateError(LogEntry logEntry) |
abstract void |
AbstractBuildLogger.onAddLogEntry(LogEntry logEntry) |
void |
BuildLoggerImpl.onAddLogEntry(LogEntry logEntry) |
void |
BuildLogFileWriter.writeLog(LogEntry logEntry)
Writes one line of logs to the log file
|
Modifier and Type | Method and Description |
---|---|
LogEntry |
PasswordMaskingLogMutator.mutate(LogEntry logEntry) |
LogEntry |
PasswordMaskingLogMutator.mutateError(LogEntry logEntry) |
Modifier and Type | Method and Description |
---|---|
Iterable<LogEntry> |
LogMemorisingInterceptor.getLogEntries() |
Modifier and Type | Method and Description |
---|---|
void |
LogMemorisingInterceptor.intercept(LogEntry logEntry) |
void |
ErrorMemorisingInterceptor.intercept(LogEntry logEntry) |
void |
ContentMatchingInterceptor.intercept(LogEntry logEntry) |
void |
LogMemorisingInterceptor.interceptError(LogEntry logEntry) |
void |
ErrorMemorisingInterceptor.interceptError(LogEntry logEntry) |
void |
ContentMatchingInterceptor.interceptError(LogEntry logEntry) |
protected abstract boolean |
ContentMatchingInterceptor.matches(LogEntry logEntry) |
protected boolean |
StringMatchingInterceptor.matches(LogEntry logEntry) |
LogEntry |
PasswordMaskingLogMutator.mutate(LogEntry logEntry) |
LogEntry |
PasswordMaskingLogMutator.mutateError(LogEntry logEntry) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
MavenLogHelper.parseErrorOutput(Iterable<LogEntry> logsToParse) |
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
BuildHungEvent.getBuildLogs() |
Constructor and Description |
---|
BuildHungEvent(Object source,
String buildKey,
int buildNumber,
CurrentlyBuilding currentlyBuilding,
List<LogEntry> buildLogs) |
Constructor and Description |
---|
RestBuildLogEntry(LogEntry logEntry) |
Modifier and Type | Method and Description |
---|---|
static Pair<LogEntry,Byte> |
LogMessageBatchConverter.readLogEntry(javax.jms.BytesMessage jmsMessage) |
Modifier and Type | Field and Description |
---|---|
protected LogEntry |
AbstractAddLogEntry.logEntry |
Modifier and Type | Method and Description |
---|---|
LogEntry |
AbstractAddLogEntry.getLogEntry() |
Constructor and Description |
---|
AbstractAddLogEntry(LoggerId<? extends Key> loggerId,
LogEntry logEntry) |
AddBuildLogEntry(LoggerId<? extends Key> loggerId,
LogEntry logEntry) |
AddErrorLogEntry(LoggerId<? extends Key> loggerId,
LogEntry logEntry) |
Modifier and Type | Method and Description |
---|---|
String |
RemoteBuildLogger.addBuildLogEntry(LogEntry logEntry) |
String |
RemoteBuildLogger.addErrorLogEntry(LogEntry logEntry) |
void |
RemoteBuildLogger.onAddLogEntry(LogEntry logEntry) |
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
ViewActivityLog.getActivityLog() |
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
ViewChainLogs.retrieveBuildLogs(BuildResultsSummary buildResultsSummary) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.