public abstract class CommandDescriptorImpl<T> extends CommandDescriptor<T>
| Constructor and Description |
|---|
CommandDescriptorImpl(String name,
Description description) |
| Modifier and Type | Method and Description |
|---|---|
CompletionMatcher<T> |
completer() |
CompletionMatcher<T> |
completer(String mainName) |
abstract CommandInvoker<T,?> |
getInvoker(InvocationMatch<T> match) |
abstract CommandDescriptorImpl<T> |
getSubordinate(String name) |
abstract Map<String,? extends CommandDescriptorImpl<T>> |
getSubordinates()
Returns the command subordinates as a map.
|
InvocationMatcher<T> |
invoker() |
InvocationMatcher<T> |
invoker(String mainName) |
addParameter, findOption, getArgument, getArguments, getDepth, getDescription, getLongOptionNames, getName, getOption, getOptionNames, getOptions, getOwner, getParameters, getShortOptionNames, getType, getUsage, printMan, printUsagepublic CommandDescriptorImpl(String name, Description description) throws IntrospectionException
IntrospectionExceptionpublic abstract Map<String,? extends CommandDescriptorImpl<T>> getSubordinates()
CommandDescriptorgetSubordinates in class CommandDescriptor<T>public abstract CommandDescriptorImpl<T> getSubordinate(String name)
getSubordinate in class CommandDescriptor<T>public abstract CommandInvoker<T,?> getInvoker(InvocationMatch<T> match)
public final InvocationMatcher<T> invoker()
public final InvocationMatcher<T> invoker(String mainName)
public final CompletionMatcher<T> completer()
public final CompletionMatcher<T> completer(String mainName)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.