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 newFlowNode
is added to the graph. Defines thepipeline-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 Modifier and Type Class Description static class
NewNodeConsoleNote.DescriptorImpl
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleAnnotator<?>
annotate(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 Detail
-
print
public static void print(org.jenkinsci.plugins.workflow.graph.FlowNode node, TaskListener listener)
-
annotate
public ConsoleAnnotator<?> annotate(WorkflowRun context, MarkupText text, int charPos)
- 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)
-
-