public class OperateClusterConfigCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
OperateClusterConfigCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
String |
run() |
OperateClusterConfigCommand |
setConfig(String config) |
OperateClusterConfigCommand |
setControllerHost(String host) |
OperateClusterConfigCommand |
setControllerPort(String port) |
OperateClusterConfigCommand |
setOperation(String operation) |
String |
toString() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestprintExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic String getName()
getName in class AbstractBaseCommandpublic void cleanup()
cleanup in class AbstractBaseCommandpublic String description()
description in interface Commandpublic OperateClusterConfigCommand setControllerHost(String host)
public OperateClusterConfigCommand setControllerPort(String port)
public OperateClusterConfigCommand setConfig(String config)
public OperateClusterConfigCommand setOperation(String operation)
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.