org.wildfly.extras.creaper.commands.messaging
Class RemoveTopic
java.lang.Object
org.wildfly.extras.creaper.commands.messaging.RemoveTopic
- All Implemented Interfaces:
- Command, OfflineCommand, OnlineCommand
public final class RemoveTopic
- extends Object
- implements OnlineCommand, OfflineCommand
Removes an existing messaging topic.
| Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand |
NOOP |
| Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand |
NOOP |
|
Constructor Summary |
RemoveTopic(String topicName)
Removes a topic from the default messaging server. |
RemoveTopic(String topicName,
String serverName)
Removes a topic from the specified messaging server. |
RemoveTopic
public RemoveTopic(String topicName)
- Removes a topic from the default messaging server.
RemoveTopic
public RemoveTopic(String topicName,
String serverName)
- Removes a topic from the specified messaging server. NOT YET IMPLEMENTED FOR OFFLINE!
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
- Specified by:
apply in interface OfflineCommand
- Throws:
CommandFailedException
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.