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

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.messaging.AddTopic.Builder
Enclosing class:
AddTopic

public static final class AddTopic.Builder
extends Object


Constructor Summary
AddTopic.Builder(String name)
          Adds a topic to the default messaging server.
AddTopic.Builder(String name, String serverName)
          Adds a topic to the specified messaging server.
 
Method Summary
 AddTopic build()
           
 AddTopic.Builder jndiEntries(List<String> jndiEntries)
          Defines the list of jndi entries to which this topic is bound to.
 AddTopic.Builder replaceExisting()
          Specify whether to replace the existing topic based on its name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddTopic.Builder

public AddTopic.Builder(String name)
Adds a topic to the default messaging server.

Parameters:
name - name of the topic

AddTopic.Builder

public AddTopic.Builder(String name,
                        String serverName)
Adds a topic to the specified messaging server. NOT YET IMPLEMENTED FOR OFFLINE!

Parameters:
name - name of the topic
serverName - name of the messaging server
Method Detail

jndiEntries

public AddTopic.Builder jndiEntries(List<String> jndiEntries)
Defines the list of jndi entries to which this topic is bound to.


replaceExisting

public AddTopic.Builder replaceExisting()
Specify whether to replace the existing topic based on its name. By default existing topic is not replaced and exception is thrown.


build

public AddTopic build()


Copyright © 2016. All rights reserved.