public class CommandBuilder extends Object
| Constructor and Description |
|---|
CommandBuilder(ConsulInstallation installation,
hudson.Launcher launcher) |
| Modifier and Type | Method and Description |
|---|---|
CommandBuilder |
agent() |
ArrayList<String> |
getCmds() |
CommandBuilder |
getKv(String path) |
CommandBuilder |
join(String consulMasters) |
CommandBuilder |
leave() |
CommandBuilder |
withAdvertise(String address) |
CommandBuilder |
withDatacenter(String datacenter) |
CommandBuilder |
withDatadir(String datadir) |
CommandBuilder |
withToken(String token) |
public CommandBuilder(ConsulInstallation installation, hudson.Launcher launcher) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic CommandBuilder agent()
public CommandBuilder join(String consulMasters)
public CommandBuilder leave()
public CommandBuilder withToken(String token)
public CommandBuilder withDatacenter(String datacenter)
public CommandBuilder withDatadir(String datadir)
public CommandBuilder withAdvertise(String address)
public CommandBuilder getKv(String path)
Copyright © 2016–2017. All rights reserved.