Class BrokenLogStorage
- All Implemented Interfaces:
 LogStorage
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionnodeListener(FlowNode node) Provides an alternate way of emitting output from a node (such as a step).Provides an alternate way of emitting output from a build.overallLog(FlowExecutionOwner.Executable build, boolean complete) Provides an alternate way of retrieving output from a build.Provides an alternate way of retrieving output from a build.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jenkinsci.plugins.workflow.log.LogStorage
getLogFile 
- 
Constructor Details
- 
BrokenLogStorage
 
 - 
 - 
Method Details
- 
overallListener
Description copied from interface:LogStorageProvides an alternate way of emitting output from a build.May implement
AutoCloseableto clean up at the end of a build; it may or may not be closed during Jenkins shutdown while a build is running.The caller may wrap the result using
TaskListenerDecorator.apply(hudson.model.TaskListener, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner, org.jenkinsci.plugins.workflow.log.TaskListenerDecorator).- Specified by:
 overallListenerin interfaceLogStorage- Returns:
 - a (remotable) build listener; do not bother overriding anything except 
TaskListener.getLogger() - Throws:
 IOException- See Also:
 
 - 
nodeListener
Description copied from interface:LogStorageProvides an alternate way of emitting output from a node (such as a step).May implement
AutoCloseableto clean up at the end of a node (FlowNode.isActive()); it may or may not be closed during Jenkins shutdown while a build is running.The caller may wrap the result using
TaskListenerDecorator.apply(hudson.model.TaskListener, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner, org.jenkinsci.plugins.workflow.log.TaskListenerDecorator).- Specified by:
 nodeListenerin interfaceLogStorage- Parameters:
 node- a running node- Returns:
 - a (remotable) task listener; do not bother overriding anything except 
TaskListener.getLogger() - Throws:
 IOException- See Also:
 - 
StepContext.get(java.lang.Class<T>)
 
 - 
overallLog
@NonNull public AnnotatedLargeText<FlowExecutionOwner.Executable> overallLog(@NonNull FlowExecutionOwner.Executable build, boolean complete) Description copied from interface:LogStorageProvides an alternate way of retrieving output from a build.In an
AnnotatedLargeText.writeHtmlTo(long, java.io.Writer)override,ConsoleAnnotationOutputStream.eol(byte[], int)should applyLogStorage.startStep(java.lang.String)andLogStorage.endStep()to delineate blocks contributed by steps. (Also seeConsoleAnnotators.)- Specified by:
 overallLogin interfaceLogStoragecomplete- if true, we claim to be serving the complete log for a build, so implementations should be sure to retrieve final log lines- Returns:
 - a log
 
 - 
stepLog
Description copied from interface:LogStorageProvides an alternate way of retrieving output from a build.- Specified by:
 stepLogin interfaceLogStorage- Parameters:
 node- a running nodecomplete- if true, we claim to be serving the complete log for a node, so implementations should be sure to retrieve final log lines- Returns:
 - a log for this just this node
 - See Also:
 
 
 -