public class DefaultCommandInfo extends Object implements CommandInfo
| Constructor and Description |
|---|
DefaultCommandInfo(String scope,
String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(ArgumentInfo argument) |
void |
addOption(OptionInfo option) |
List<ArgumentInfo> |
getArguments() |
String |
getDescription() |
String |
getName() |
List<OptionInfo> |
getOptions() |
String |
getScope() |
public String getScope()
getScope in interface CommandInfopublic List<OptionInfo> getOptions()
getOptions in interface CommandInfopublic List<ArgumentInfo> getArguments()
getArguments in interface CommandInfopublic String getDescription()
getDescription in interface Descriptivepublic void addOption(OptionInfo option)
public void addArgument(ArgumentInfo argument)
Copyright © 2013 OW2 Consortium. All Rights Reserved.