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.
LogAction implementation that stores per-node log file under FlowExecutionOwner.getRootDir().- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionAnnotatedLargeText<? extends org.jenkinsci.plugins.workflow.graph.FlowNode>Deprecated.org.jenkinsci.plugins.workflow.graph.FlowNodeDeprecated.voidonLoad(org.jenkinsci.plugins.workflow.graph.FlowNode parent) Deprecated.static TaskListenerstream(org.jenkinsci.plugins.workflow.graph.FlowNode node, ConsoleLogFilter filter) Deprecated.static TaskListenerstream(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.toString()Deprecated.voidwriteLogTo(long offset, org.apache.commons.jelly.XMLOutput out) Deprecated.Used fromconsole.jellyto write annotated log to the given output.Methods inherited from class org.jenkinsci.plugins.workflow.actions.LogAction
getDisplayName, getIconFileName, getUrlNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Method Details
-
stream
@Deprecated @NonNull public static TaskListener stream(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node, @CheckForNull ConsoleLogFilter filter) throws IOException, InterruptedException Deprecated.- Throws:
IOExceptionInterruptedException
-
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:
IOExceptionInterruptedException
-
getParent
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.jenkinsci.plugins.workflow.graph.FlowNode getParent()Deprecated. -
getLogText
Deprecated.- Specified by:
getLogTextin 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.jellyto write annotated log to the given output.- Throws:
IOException
-
onLoad
public void onLoad(org.jenkinsci.plugins.workflow.graph.FlowNode parent) Deprecated.- Specified by:
onLoadin interfaceorg.jenkinsci.plugins.workflow.actions.FlowNodeAction
-
toString
Deprecated.
-
LogStorageActioninstead.