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.
Use LogStorageAction instead.
LogAction implementation that stores per-node log file under FlowExecutionOwner.getRootDir().
Author:
Kohsuke Kawaguchi
  • 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:
      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 node
      decorator - 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 class org.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 from console.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 interface org.jenkinsci.plugins.workflow.actions.FlowNodeAction
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object