Class LogActionImpl
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.actions.LogAction
-
- org.jenkinsci.plugins.workflow.support.actions.LogActionImpl
-
- All Implemented Interfaces:
Action
,ModelObject
,org.jenkinsci.plugins.workflow.actions.FlowNodeAction
,org.jenkinsci.plugins.workflow.actions.PersistentAction
@Deprecated public class LogActionImpl extends org.jenkinsci.plugins.workflow.actions.LogAction implements org.jenkinsci.plugins.workflow.actions.FlowNodeAction, org.jenkinsci.plugins.workflow.actions.PersistentAction
Deprecated.UseLogStorageAction
instead.LogAction
implementation that stores per-node log file underFlowExecutionOwner.getRootDir()
.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AnnotatedLargeText<? extends org.jenkinsci.plugins.workflow.graph.FlowNode>
getLogText()
Deprecated.org.jenkinsci.plugins.workflow.graph.FlowNode
getParent()
Deprecated.void
onLoad(org.jenkinsci.plugins.workflow.graph.FlowNode parent)
Deprecated.static TaskListener
stream(org.jenkinsci.plugins.workflow.graph.FlowNode node, ConsoleLogFilter filter)
Deprecated.static TaskListener
stream(org.jenkinsci.plugins.workflow.graph.FlowNode node, org.jenkinsci.plugins.workflow.log.TaskListenerDecorator decorator)
Deprecated.Get or create the streaming log handle for a given flow node.String
toString()
Deprecated.void
writeLogTo(long offset, org.apache.commons.jelly.XMLOutput out)
Deprecated.Used fromconsole.jelly
to write annotated log to the given output.-
Methods inherited from class org.jenkinsci.plugins.workflow.actions.LogAction
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Method Detail
-
stream
@Deprecated @NonNull public static TaskListener stream(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node, @CheckForNull ConsoleLogFilter filter) throws IOException, InterruptedException
Deprecated.- Throws:
IOException
InterruptedException
-
stream
@NonNull public static TaskListener stream(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node, @CheckForNull org.jenkinsci.plugins.workflow.log.TaskListenerDecorator decorator) throws IOException, InterruptedException
Deprecated.Get or create the streaming log handle for a given flow node.- Parameters:
node
- the nodedecorator
- some filtering- Returns:
- a listener
- Throws:
IOException
InterruptedException
-
getParent
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.jenkinsci.plugins.workflow.graph.FlowNode getParent()
Deprecated.
-
getLogText
public AnnotatedLargeText<? extends org.jenkinsci.plugins.workflow.graph.FlowNode> getLogText()
Deprecated.- Specified by:
getLogText
in classorg.jenkinsci.plugins.workflow.actions.LogAction
-
writeLogTo
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public void writeLogTo(long offset, org.apache.commons.jelly.XMLOutput out) throws IOException
Deprecated.Used fromconsole.jelly
to write annotated log to the given output.- Throws:
IOException
-
onLoad
public void onLoad(org.jenkinsci.plugins.workflow.graph.FlowNode parent)
Deprecated.- Specified by:
onLoad
in interfaceorg.jenkinsci.plugins.workflow.actions.FlowNodeAction
-
-