public class StreamGitHubEventsCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
StreamGitHubEventsCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
void |
setEventType(String eventType) |
void |
setKafkaBrokerList(String kafkaBrokerList) |
void |
setPersonalAccessToken(String personalAccessToken) |
void |
setSchemaFile(String schemaFile) |
void |
setTopic(String topic) |
String |
toString() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestprintExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic void setPersonalAccessToken(String personalAccessToken)
public void setKafkaBrokerList(String kafkaBrokerList)
public void setTopic(String topic)
public void setEventType(String eventType)
public void setSchemaFile(String schemaFile)
public String getName()
getName in class AbstractBaseCommandpublic void cleanup()
cleanup in class AbstractBaseCommandpublic String description()
description in interface CommandCopyright © 2018–2020 Apache Software Foundation. All rights reserved.