Class SubmittingNote

java.lang.Object
hudson.console.ConsoleNote<Object>
hudson.plugins.chucknorris.pipeline.SubmittingNote
All Implemented Interfaces:
ExtensionPoint, Describable<ConsoleNote<?>>, Serializable

public class SubmittingNote extends ConsoleNote<Object>
Marks the "Submitting to Chuck's will" line of the chuckNorris step so that it is shown in the viewer's language, like the fact line after it.

The log is written while the build runs, so the line itself is in the controller's default language. When the console is shown in a browser, this note swaps in the same line in the browser's language. The plain text log (consoleText) keeps the original line.

See Also:
  • Method Details

    • encodeLine

      public static String encodeLine()
      Encodes the "Submitting to Chuck's will" line, in the controller's default language, with a note in front.
      Returns:
      the line to print to the build log
    • annotate

      public ConsoleAnnotator<Object> annotate(Object context, MarkupText text, int charPos)
      Specified by:
      annotate in class ConsoleNote<Object>