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 a FolderComputation the containing Folder can be moved without keeping the events log open.
  • Constructor Details

    • OutputFile

      public OutputFile()
  • Method Details

    • 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()
      Returns true 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