Package org.jboss.as.test.shared
Class ServerSnapshot
java.lang.Object
org.jboss.as.test.shared.ServerSnapshot
Class that can be used to take a restore server snapshots
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoCloseabletakeSnapshot(org.jboss.as.arquillian.container.ManagementClient client) Takes a snapshot of the current state of the server.
-
Constructor Details
-
ServerSnapshot
public ServerSnapshot()
-
-
Method Details
-
takeSnapshot
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
-