Package net.thucydides.core.reports.io
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 classSafelyMoveFiles.SafelyMoveFilesBuilder -
Field Summary
Fields Modifier and Type Field Description static intDELAY_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.Pathto(java.nio.file.Path destination)static SafelyMoveFiles.SafelyMoveFilesBuilderwithMaxRetriesOf(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
-
to
public java.nio.file.Path to(java.nio.file.Path destination) throws java.io.IOException- Throws:
java.io.IOException
-