public static final class TaskThread.ListenerAndText extends Object
TaskListener and AnnotatedLargeText, representing
the interface for producing output and how to retrieve it later.| Constructor and Description |
|---|
ListenerAndText(TaskListener listener,
AnnotatedLargeText<TaskAction> text) |
| Modifier and Type | Method and Description |
|---|---|
static TaskThread.ListenerAndText |
forFile(File f)
Deprecated.
as of Hudson 1.350
Use
forFile(File, TaskAction) 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(TaskAction) and pass in the calling TaskAction |
static TaskThread.ListenerAndText |
forMemory(TaskAction context)
Creates one that's backed by memory.
|
public ListenerAndText(TaskListener listener, AnnotatedLargeText<TaskAction> text)
public static TaskThread.ListenerAndText forMemory()
forMemory(TaskAction) and pass in the calling TaskActionpublic static TaskThread.ListenerAndText forFile(File f) throws IOException
forFile(File, TaskAction) and pass in the calling TaskActionIOExceptionpublic static TaskThread.ListenerAndText forMemory(TaskAction context)
public static TaskThread.ListenerAndText forFile(File f, TaskAction context) throws IOException
IOExceptionCopyright © 2014. All rights reserved.