org.wildfly.extras.creaper.commands.domain
Class AddServerConfig.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.domain.AddServerConfig.Builder
Enclosing class:
AddServerConfig

public static final class AddServerConfig.Builder
extends Object


Constructor Summary
AddServerConfig.Builder(String serverName, String host, String serverGroup)
           
 
Method Summary
 AddServerConfig.Builder autoStart(boolean autoStart)
          Whether or not this server should be started when the Host Controller starts.
 AddServerConfig build()
           
 AddServerConfig.Builder socketBindingGroup(String socketBindingGroup)
          The socket binding group to which this server belongs.
 AddServerConfig.Builder socketBindingPortOffset(int socketBindingPortOffset)
          An offset to be added to the port values given by the socket binding group for this server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddServerConfig.Builder

public AddServerConfig.Builder(String serverName,
                               String host,
                               String serverGroup)
Parameters:
serverName - name of newly created server-config
host - target host on which new server will be created
serverGroup - server group to which new server will belong
Throws:
IllegalArgumentException - if the serverName or host or serverGroup is null
Method Detail

socketBindingGroup

public AddServerConfig.Builder socketBindingGroup(String socketBindingGroup)
The socket binding group to which this server belongs.


socketBindingPortOffset

public AddServerConfig.Builder socketBindingPortOffset(int socketBindingPortOffset)
An offset to be added to the port values given by the socket binding group for this server.


autoStart

public AddServerConfig.Builder autoStart(boolean autoStart)
Whether or not this server should be started when the Host Controller starts.


build

public AddServerConfig build()


Copyright © 2016. All rights reserved.