Package jenkins.util
Class ScriptListener.ListenerWriter
java.lang.Object
java.io.Writer
jenkins.util.ScriptListener.ListenerWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Enclosing interface:
- ScriptListener
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static class ScriptListener.ListenerWriter
extends Writer
Writer that calls ScriptListener.fireScriptOutput(String, Object, Object, String, hudson.model.User) with the
output it writes to the wrapped Writer, and otherwise just forwards flush() and close().-
Constructor Details
-
ListenerWriter
-
-
Method Details
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-