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 Summary

    Modifier and Type
    Method
    Description
    AnnotatedLargeText<? extends org.jenkinsci.plugins.workflow.graph.FlowNode>
    Deprecated.
     
    org.jenkinsci.plugins.workflow.graph.FlowNode
    Deprecated.
     
    void
    onLoad(org.jenkinsci.plugins.workflow.graph.FlowNode parent)
    Deprecated.
     
    stream(org.jenkinsci.plugins.workflow.graph.FlowNode node, ConsoleLogFilter filter)
    Deprecated.
    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.
    Deprecated.
     
    void
    writeLogTo(long offset, org.apache.commons.jelly.XMLOutput out)
    Deprecated.
    Used from console.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 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