public abstract class AbstractKnoxShellCommand
extends org.codehaus.groovy.tools.shell.CommandSupport
| Modifier and Type | Field and Description |
|---|---|
protected static String |
KNOXDATASOURCES |
| Constructor and Description |
|---|
AbstractKnoxShellCommand(org.codehaus.groovy.tools.shell.Groovysh shell,
String name,
String shortcut) |
AbstractKnoxShellCommand(org.codehaus.groovy.tools.shell.Groovysh shell,
String name,
String shortcut,
String desc,
String usage,
String help) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getBindingVariableNameForResultingTable(List<String> args) |
String |
getDescription() |
String |
getHelp() |
String |
getUsage() |
protected CredentialCollector |
login() |
alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getHidden, getHistory, getImports, getMetaClass, getName, getShortcut, getVariables, setHidden, setMetaClassprotected static final String KNOXDATASOURCES
public AbstractKnoxShellCommand(org.codehaus.groovy.tools.shell.Groovysh shell,
String name,
String shortcut)
public String getDescription()
getDescription in interface org.codehaus.groovy.tools.shell.CommandgetDescription in class org.codehaus.groovy.tools.shell.CommandSupportpublic String getUsage()
getUsage in interface org.codehaus.groovy.tools.shell.CommandgetUsage in class org.codehaus.groovy.tools.shell.CommandSupportpublic String getHelp()
getHelp in interface org.codehaus.groovy.tools.shell.CommandgetHelp in class org.codehaus.groovy.tools.shell.CommandSupportprotected String getBindingVariableNameForResultingTable(List<String> args)
protected CredentialCollector login() throws CredentialCollectionException
CredentialCollectionExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.