org.wildfly.extras.creaper.commands.domain
Class ServersRunningStateBackup

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.domain.ServersRunningStateBackup

public final class ServersRunningStateBackup
extends Object

Provides a pair of online commands to backup and then restore running state of servers in domain. The backup command must be applied before restore, and both commands can only be applied once. If any one of these rules is violated, an exception is thrown. For special circumstances, when the backup that was already acquired is no longer needed and is not going to be restored, a destroy command is provided. If there was no backup acquired, the destroy command does nothing.


Constructor Summary
ServersRunningStateBackup()
           
 
Method Summary
 OnlineCommand backup()
           
 OnlineCommand destroy()
           
 OnlineCommand restore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServersRunningStateBackup

public ServersRunningStateBackup()
Method Detail

backup

public OnlineCommand backup()

restore

public OnlineCommand restore()

destroy

public OnlineCommand destroy()


Copyright © 2016. All rights reserved.