Package hudson.model
Class TaskThread.ListenerAndText
- java.lang.Object
-
- hudson.model.TaskThread.ListenerAndText
-
- Enclosing class:
- TaskThread
public static final class TaskThread.ListenerAndText extends Object
Tuple ofTaskListenerandAnnotatedLargeText, representing the interface for producing output and how to retrieve it later.
-
-
Constructor Summary
Constructors Constructor Description ListenerAndText(TaskListener listener, AnnotatedLargeText<TaskAction> text)
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TaskThread.ListenerAndTextforFile(File f)Deprecated.as of Hudson 1.350 UseforFile(File, TaskAction)and pass in the callingTaskActionstatic TaskThread.ListenerAndTextforFile(File f, TaskAction context)Creates one that's backed by a file.static TaskThread.ListenerAndTextforMemory()Deprecated.as of Hudson 1.350 UseforMemory(TaskAction)and pass in the callingTaskActionstatic TaskThread.ListenerAndTextforMemory(TaskAction context)Creates one that's backed by memory.
-
-
-
Constructor Detail
-
ListenerAndText
public ListenerAndText(TaskListener listener, AnnotatedLargeText<TaskAction> text)
-
-
Method Detail
-
forMemory
@Deprecated public static TaskThread.ListenerAndText forMemory()
Deprecated.as of Hudson 1.350 UseforMemory(TaskAction)and pass in the callingTaskAction
-
forFile
@Deprecated public static TaskThread.ListenerAndText forFile(File f) throws IOException
Deprecated.as of Hudson 1.350 UseforFile(File, TaskAction)and pass in the callingTaskAction- 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
-
-