Class ConsoleAnnotators
java.lang.Object
org.jenkinsci.plugins.workflow.log.ConsoleAnnotators
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public class ConsoleAnnotators
extends Object
Some utility code extracted from 
AnnotatedLargeText which probably belongs in ConsoleAnnotator or ConsoleAnnotationOutputStream.- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> ConsoleAnnotator<T>createAnnotator(T context) static voidsetAnnotator(ConsoleAnnotator<?> annotator) What to call at the end of an override ofAnnotatedLargeText.writeHtmlTo(long, java.io.Writer).
- 
Method Details- 
createAnnotatorWhat to pass toConsoleAnnotationOutputStream(java.io.Writer, hudson.console.ConsoleAnnotator<? super T>, T, java.nio.charset.Charset)when overridingAnnotatedLargeText.writeHtmlTo(long, java.io.Writer).- Throws:
- IOException
 
- 
setAnnotatorWhat to call at the end of an override ofAnnotatedLargeText.writeHtmlTo(long, java.io.Writer).- Throws:
- IOException
 
 
-