org.wildfly.extras.creaper.commands.domain
Class AddServerGroup

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.domain.AddServerGroup
All Implemented Interfaces:
Command, OnlineCommand

public class AddServerGroup
extends Object
implements OnlineCommand

Command which creates new server group under /server-group TODO: add an offline implementation


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

Method Detail

apply

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

getAddress

public Address getAddress()
Returns:
address of newly created server-group, e.g. /server-group=new-server-group


Copyright © 2020. All rights reserved.