Class ServerSnapshot

java.lang.Object
org.jboss.as.test.shared.ServerSnapshot

public class ServerSnapshot extends Object
Class that can be used to take a restore server snapshots
  • Constructor Details

    • ServerSnapshot

      public ServerSnapshot()
  • Method Details

    • takeSnapshot

      public static AutoCloseable takeSnapshot(org.jboss.as.arquillian.container.ManagementClient client)
      Takes a snapshot of the current state of the server. Returns a AutoCloseable that can be used to restore the server state
      Parameters:
      client - The client
      Returns:
      A closeable that can be used to restore the server