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

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

public final class AddTopic
extends Object
implements OnlineCommand, OfflineCommand

Creates new messaging topic.


Nested Class Summary
static class AddTopic.Builder
           
 
Field Summary
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

apply

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

apply

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

toString

public String toString()
Specified by:
toString in interface OfflineCommand
Specified by:
toString in interface OnlineCommand
Overrides:
toString in class Object


Copyright © 2016. All rights reserved.