org.wildfly.extras.creaper.commands.messaging
Class SetMessagingClusterPassword

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.messaging.SetMessagingClusterPassword
All Implemented Interfaces:
Command, OfflineCommand, OnlineCommand

public final class SetMessagingClusterPassword
extends Object
implements OfflineCommand, OnlineCommand

Set cluster password.


Field Summary
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Constructor Summary
SetMessagingClusterPassword(String password)
          Set cluster password in the default messaging server.
SetMessagingClusterPassword(String password, String serverName)
          Set cluster password in the specified messaging server.
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
toString
 
Methods inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
toString
 

Constructor Detail

SetMessagingClusterPassword

public SetMessagingClusterPassword(String password)
Set cluster password in the default messaging server.

Parameters:
password - password to be set

SetMessagingClusterPassword

public SetMessagingClusterPassword(String password,
                                   String serverName)
Set cluster password in the specified messaging server. NOT YET IMPLEMENTED FOR OFFLINE!

Parameters:
password - password to be set
serverName - name of the messaging server
Method Detail

apply

public void apply(OfflineCommandContext ctx)
           throws CommandFailedException,
                  IOException
Specified by:
apply in interface OfflineCommand
Throws:
CommandFailedException
IOException

apply

public void apply(OnlineCommandContext ctx)
           throws Exception
Specified by:
apply in interface OnlineCommand
Throws:
Exception


Copyright © 2020. All rights reserved.