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

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

public class AddServerConfig
extends Object
implements OnlineCommand

Command which creates new server config under /host=some-host/server-config=server-name TODO: add an offline implementation


Nested Class Summary
static class AddServerConfig.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-config, e.g. /host=master/server-config=new-server


Copyright © 2020. All rights reserved.