public interface BuildProgressLogger extends SimpleBuildLogger, JUnitLogger
Modifier and Type | Method and Description |
---|---|
void |
activityFinished(java.lang.String activityName,
java.lang.String activityType)
Finishes block
|
void |
activityStarted(java.lang.String activityName,
java.lang.String activityType)
Starts new block in the build log.
|
void |
activityStarted(java.lang.String activityName,
java.lang.String activityDescription,
java.lang.String activityType)
Starts new block in the build log.
|
void |
buildFailureDescription(java.lang.String message)
Allows to fail build unconditionally.
|
void |
flush()
Flushes messages buffer.
|
java.lang.String |
getFlowId()
Returns flow id of this logger.
|
FlowLogger |
getFlowLogger(java.lang.String flowId)
Returns logger for specified flow id, or creates new logger if there were no loggers for this flow id yet.
|
FlowLogger |
getThreadLogger()
Returns flow logger for current thread.
|
void |
ignoreServiceMessages(java.lang.Runnable runnable)
Run given block in a mode when service messages are not parsed and ignored, both on agent and server
|
void |
internalError(java.lang.String type,
java.lang.String message,
java.lang.Throwable throwable)
Reports internal error, i.e.
|
void |
logBuildProblem(BuildProblemData buildProblem)
Logs build problem that causes build failure on server
|
void |
logMessage(BuildMessage1 message)
Logs specified build message as is
|
void |
progressFinished()
Finishes current progress block.
|
void |
progressStarted(java.lang.String message)
Starts new progress block.
|
void |
targetFinished(java.lang.String targetName)
Finishes Ant-like target in the build log.
|
void |
targetStarted(java.lang.String targetName)
Starts Ant-like target in the build log.
|
debug, error, exception, message, message, progressMessage, warning
logComparisonFailure, logSuiteFinished, logSuiteFinished, logSuiteStarted, logSuiteStarted, logTestFailed, logTestFailed, logTestFinished, logTestFinished, logTestIgnored, logTestStarted, logTestStarted, logTestStdErr, logTestStdOut
void activityStarted(java.lang.String activityName, java.lang.String activityType)
activityName
- name of the blockactivityType
- for standard block type refer to BLOCK_TYPE_* constants jetbrains.buildServer.messages.DefaultMessagesInfo,
in case of non-standard block type use prefix CUSTOM_void activityStarted(java.lang.String activityName, java.lang.String activityDescription, java.lang.String activityType)
activityName
- name of the blockactivityDescription
- block descriptionactivityType
- for standard block type refer to BLOCK_TYPE_* constants jetbrains.buildServer.messages.DefaultMessagesInfo,
in case of non-standard block type use prefix CUSTOM_void activityFinished(java.lang.String activityName, java.lang.String activityType)
activityName
- name of the blockactivityType
- type of the blockvoid targetStarted(java.lang.String targetName)
targetName
- name of the targetvoid targetFinished(java.lang.String targetName)
targetName
- name of the targetvoid buildFailureDescription(java.lang.String message)
message
- short message describing reason of the build failure (shown in red and used in status text)void internalError(java.lang.String type, java.lang.String message, java.lang.Throwable throwable)
type
- the error typemessage
- the descriptionthrowable
- the corresponding exception (nullable)void progressStarted(java.lang.String message)
message
- progress messagevoid progressFinished()
void logMessage(BuildMessage1 message)
message
- build message to logvoid flush()
flush
in interface JUnitLogger
void ignoreServiceMessages(java.lang.Runnable runnable)
FlowLogger getFlowLogger(java.lang.String flowId)
flowId
- id of the messages flowFlowLogger getThreadLogger()
getFlowLogger(String)
with flow id generated based on current Thread object.java.lang.String getFlowId()
getThreadLogger()
.void logBuildProblem(BuildProblemData buildProblem)
buildProblem
- build problem