hudson.model
Class TaskThread.ListenerAndText

java.lang.Object
  extended by hudson.model.TaskThread.ListenerAndText
Enclosing class:
TaskThread

public static final class TaskThread.ListenerAndText
extends Object

Tuple of TaskListener and AnnotatedLargeText, representing the interface for producing output and how to retrieve it later.


Constructor Summary
TaskThread.ListenerAndText(TaskListener listener, AnnotatedLargeText<TaskAction> text)
           
 
Method Summary
static TaskThread.ListenerAndText forFile(File f)
          Deprecated. as of Hudson 1.350 Use #forFile(File, TaskThread) and pass in the calling TaskAction
static TaskThread.ListenerAndText forFile(File f, TaskAction context)
          Creates one that's backed by a file.
static TaskThread.ListenerAndText forMemory()
          Deprecated. as of Hudson 1.350 Use #forMemory(TaskThread) and pass in the calling TaskAction
static TaskThread.ListenerAndText forMemory(TaskAction context)
          Creates one that's backed by memory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskThread.ListenerAndText

public TaskThread.ListenerAndText(TaskListener listener,
                                  AnnotatedLargeText<TaskAction> text)
Method Detail

forMemory

public static TaskThread.ListenerAndText forMemory()
Deprecated. as of Hudson 1.350 Use #forMemory(TaskThread) and pass in the calling TaskAction


forFile

public static TaskThread.ListenerAndText forFile(File f)
                                          throws IOException
Deprecated. as of Hudson 1.350 Use #forFile(File, TaskThread) and pass in the calling TaskAction

Throws:
IOException

forMemory

public static TaskThread.ListenerAndText forMemory(TaskAction context)
Creates one that's backed by memory.


forFile

public static TaskThread.ListenerAndText forFile(File f,
                                                 TaskAction context)
                                          throws IOException
Creates one that's backed by a file.

Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.