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 aFolderComputationthe containingFoldercan 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 booleancanWriteNow()Returnstrueif the output file can be written to now,falseif the write should be delayed.abstract Fileget()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()
Returnstrueif the output file can be written to now,falseif the write should be delayed.- Returns:
trueif the output file can be written to now,falseif the write should be delayed
-
-