Class SafelyMoveFiles

java.lang.Object
net.thucydides.core.reports.io.SafelyMoveFiles

public class SafelyMoveFiles
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  SafelyMoveFiles.SafelyMoveFilesBuilder  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int DELAY_BETWEEN_FILE_ACCESSES_IN_MS  
  • Constructor Summary

    Constructors 
    Constructor Description
    SafelyMoveFiles​(java.nio.file.Path origin, int maxRetries)  
  • Method Summary

    Modifier and Type Method Description
    java.nio.file.Path to​(java.nio.file.Path destination)  
    static SafelyMoveFiles.SafelyMoveFilesBuilder withMaxRetriesOf​(int maxRetries)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DELAY_BETWEEN_FILE_ACCESSES_IN_MS

      public static final int DELAY_BETWEEN_FILE_ACCESSES_IN_MS
      See Also:
      Constant Field Values
  • Constructor Details

    • SafelyMoveFiles

      public SafelyMoveFiles​(java.nio.file.Path origin, int maxRetries)
  • Method Details

    • withMaxRetriesOf

      public static SafelyMoveFiles.SafelyMoveFilesBuilder withMaxRetriesOf​(int maxRetries)
    • to

      public java.nio.file.Path to​(java.nio.file.Path destination) throws java.io.IOException
      Throws:
      java.io.IOException