org.wildfly.extras.creaper.commands.domain
Class AddServerGroup
java.lang.Object
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
| Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand |
NOOP |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.