Package hudson.model
Class TaskThread.ListenerAndText
java.lang.Object
hudson.model.TaskThread.ListenerAndText
- Enclosing class:
- TaskThread
Tuple of
TaskListener and AnnotatedLargeText, representing
the interface for producing output and how to retrieve it later.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskThread.ListenerAndTextDeprecated.static TaskThread.ListenerAndTextforFile(File f, TaskAction context) Creates one that's backed by a file.static TaskThread.ListenerAndTextDeprecated.as of Hudson 1.350 UseforMemory(TaskAction)and pass in the callingTaskActionstatic TaskThread.ListenerAndTextforMemory(TaskAction context) Creates one that's backed by memory.
-
Constructor Details
-
ListenerAndText
-
-
Method Details
-
forMemory
Deprecated.as of Hudson 1.350 UseforMemory(TaskAction)and pass in the callingTaskAction -
forFile
Deprecated.as of Hudson 1.350 UseforFile(File, TaskAction)and pass in the callingTaskAction- Throws:
IOException
-
forMemory
Creates one that's backed by memory. -
forFile
Creates one that's backed by a file.- Throws:
IOException
-
forFile(File, TaskAction)and pass in the callingTaskAction