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