public class LogActionImpl
extends org.jenkinsci.plugins.workflow.actions.LogAction
implements org.jenkinsci.plugins.workflow.actions.FlowNodeAction, org.jenkinsci.plugins.workflow.actions.PersistentAction
LogAction
implementation that stores per-node log file under FlowExecutionOwner.getRootDir()
.Modifier and Type | Method and Description |
---|---|
hudson.console.AnnotatedLargeText<? extends org.jenkinsci.plugins.workflow.graph.FlowNode> |
getLogText() |
org.jenkinsci.plugins.workflow.graph.FlowNode |
getParent() |
void |
onLoad(org.jenkinsci.plugins.workflow.graph.FlowNode parent) |
static hudson.model.TaskListener |
stream(org.jenkinsci.plugins.workflow.graph.FlowNode node,
hudson.console.ConsoleLogFilter filter)
Get or create the streaming log handle for a given flow node.
|
String |
toString() |
void |
writeLogTo(long offset,
org.apache.commons.jelly.XMLOutput out)
Used from console.jelly to write annotated log to the given output.
|
getDisplayName, getIconFileName, getUrlName
@Nonnull public static hudson.model.TaskListener stream(@Nonnull org.jenkinsci.plugins.workflow.graph.FlowNode node, @CheckForNull hudson.console.ConsoleLogFilter filter) throws IOException, InterruptedException
node
- the nodefilter
- IOException
InterruptedException
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public org.jenkinsci.plugins.workflow.graph.FlowNode getParent()
public hudson.console.AnnotatedLargeText<? extends org.jenkinsci.plugins.workflow.graph.FlowNode> getLogText()
getLogText
in class org.jenkinsci.plugins.workflow.actions.LogAction
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public void writeLogTo(long offset, org.apache.commons.jelly.XMLOutput out) throws IOException
IOException
public void onLoad(org.jenkinsci.plugins.workflow.graph.FlowNode parent)
onLoad
in interface org.jenkinsci.plugins.workflow.actions.FlowNodeAction
Copyright © 2016–2018. All rights reserved.