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:
nodeId
forFlowNode.getId()
startId
FlowNode.getId()
forBlockStartNode
, elseBlockEndNode.getStartNode()
, else absentenclosingId
the immediately enclosingBlockStartNode
, if anylabel
forLabelAction
if present
- See Also:
-
LogStorage.startStep(java.lang.String)
- Serialized Form
-
Nested Class Summary
Nested 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 void
print
(org.jenkinsci.plugins.workflow.graph.FlowNode node, TaskListener listener) static StringBuilder
startTagFor
(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:
annotate
in 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)
-