Class ADBContainer.Wallet

java.lang.Object
com.oracle.spring.testcontainers.ADBContainer.Wallet
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ADBContainer

public static final class ADBContainer.Wallet extends Object implements AutoCloseable
Handle for wallet files copied from an ADB Free container.

Closing the handle deletes the wallet files created by ADBContainer.copyWalletTo(Path) and removes the destination directory when it is empty. Other files in a caller-provided destination are preserved.

  • Method Details

    • getDirectory

      public Path getDirectory()
      Returns the directory containing the copied wallet files.
      Returns:
      wallet directory
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException