Class TemporaryFolder.Builder

    • Constructor Detail

    • Method Detail

      • parentFolder

        public TemporaryFolder.Builder parentFolder​(java.io.File parentFolder)
        Specifies which folder to use for creating temporary resources. If null then system default temporary-file directory is used.
        Returns:
        this
      • assureDeletion

        public TemporaryFolder.Builder assureDeletion()
        Setting this flag assures that no resources are left undeleted. Failure to fulfill the assurance results in failure of tests with an AssertionError.
        Returns:
        this