Class ModuleFileTransactions.Expected

java.lang.Object
com.ultikits.ultitools.utils.ModuleFileTransactions.Expected
Enclosing class:
ModuleFileTransactions

private static final class ModuleFileTransactions.Expected extends Object
A file a destructive step touches, and the recorded hashes it may hold; none means it must be absent.
  • Field Details

    • file

      private final File file
    • hashes

      private final Set<String> hashes
    • mustExist

      private boolean mustExist
  • Constructor Details

    • Expected

      Expected(File file, boolean mustExist, String... hashes)