org.wildfly.extras.creaper.commands.domain
Class AddServerConfig.Builder
java.lang.Object
org.wildfly.extras.creaper.commands.domain.AddServerConfig.Builder
- Enclosing class:
- AddServerConfig
public static final class AddServerConfig.Builder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddServerConfig.Builder
public AddServerConfig.Builder(String serverName,
String host,
String serverGroup)
- Parameters:
serverName - name of newly created server-confighost - target host on which new server will be createdserverGroup - server group to which new server will belong
- Throws:
IllegalArgumentException - if the serverName or host or serverGroup
is null
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.