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)
@Deprecated public static TaskThread.ListenerAndText forMemory()
forMemory(TaskAction)
and pass in the calling TaskAction
@Deprecated public static TaskThread.ListenerAndText forFile(File f) throws IOException
forFile(File, TaskAction)
and pass in the calling TaskAction
IOException
public static TaskThread.ListenerAndText forMemory(TaskAction context)
public static TaskThread.ListenerAndText forFile(File f, TaskAction context) throws IOException
IOException
Copyright © 2004–2022. All rights reserved.