Class NewNodeConsoleNote
java.lang.Object
hudson.console.ConsoleNote<WorkflowRun>
org.jenkinsci.plugins.workflow.job.console.NewNodeConsoleNote
- All Implemented Interfaces:
ExtensionPoint,Describable<ConsoleNote<?>>,Serializable
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public class NewNodeConsoleNote
extends ConsoleNote<WorkflowRun>
Console line with note printed when a new
FlowNode is added to the graph.
Defines the pipeline-new-node CSS class and several attributes which may be used to control subsequent behavior:
nodeIdforFlowNode.getId()startIdFlowNode.getId()forBlockStartNode, elseBlockEndNode.getStartNode(), else absentenclosingIdthe immediately enclosingBlockStartNode, if anylabelforLabelActionif present
- See Also:
-
LogStorage.startStep(java.lang.String)- Serialized Form
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.console.ConsoleNote
INSECURE, POSTAMBLE, POSTAMBLE_STR, PREAMBLE, PREAMBLE_STR -
Method Summary
Modifier and TypeMethodDescriptionannotate(WorkflowRun context, MarkupText text, int charPos) static voidprint(org.jenkinsci.plugins.workflow.graph.FlowNode node, TaskListener listener) static StringBuilderstartTagFor(WorkflowRun context, String id, String start, String enclosing) Methods inherited from class hudson.console.ConsoleNote
encode, encodeTo, encodeTo, findPreamble, getDescriptor, readFrom, removeNotes, removeNotes, skip
-
Method Details
-
print
-
annotate
- Specified by:
annotatein classConsoleNote<WorkflowRun>
-
startTagFor
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static StringBuilder startTagFor(@NonNull WorkflowRun context, @NonNull String id, @CheckForNull String start, @CheckForNull String enclosing)
-