Class EventOutputStreams.OutputFile
- java.lang.Object
-
- com.cloudbees.hudson.plugins.folder.computed.EventOutputStreams.OutputFile
-
- Enclosing class:
- EventOutputStreams
public abstract static class EventOutputStreams.OutputFile extends Object
Supplies the current output file destination. We use indirection so that when used from aFolderComputation
the containingFolder
can be moved without keeping the events log open.
-
-
Constructor Summary
Constructors Constructor Description OutputFile()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
canWriteNow()
Returnstrue
if the output file can be written to now,false
if the write should be delayed.abstract File
get()
Returns the file that output is being sent to.
-
-
-
Method Detail
-
get
@NonNull public abstract File get()
Returns the file that output is being sent to.- Returns:
- the file that output is being sent to.
-
canWriteNow
public boolean canWriteNow()
Returnstrue
if the output file can be written to now,false
if the write should be delayed.- Returns:
true
if the output file can be written to now,false
if the write should be delayed
-
-