| Modifier and Type | Field and Description |
|---|---|
org.osgi.framework.BundleContext |
context |
| Constructor and Description |
|---|
SimpleParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CommandMarker command) |
void |
add(Converter<?> converter) |
protected void |
commandNotFound(Logger logger,
String buffer) |
int |
complete(String buffer,
int cursor,
List<String> candidates)
Populates a list of completion candidates.
|
int |
completeAdvanced(String buffer,
int cursor,
List<Completion> candidates)
Populates a list of completion candidates.
|
Set<String> |
getEveryCommand() |
Long |
getLasTimeUpdateComponents() |
RooBundleActivator |
getRooBundleActivator()
Obtains all Services that implements RooBundleActivator
|
void |
loadConvertersAndCommands()
This method loads converters and commands if needed
|
ParseResult |
parse(String rawInput) |
void |
remove(CommandMarker command) |
void |
remove(Converter<?> converter) |
void |
setLasTimeUpdateComponents(Long lastTimeUpdateComponents) |
static String |
versionInfoWithoutGit() |
public final void add(CommandMarker command)
public final void add(Converter<?> converter)
public int complete(String buffer, int cursor, List<String> candidates)
Parserpublic int completeAdvanced(String buffer, int cursor, List<Completion> candidates)
ParsercompleteAdvanced in interface Parserpublic void loadConvertersAndCommands()
public ParseResult parse(String rawInput)
public final void remove(CommandMarker command)
public final void remove(Converter<?> converter)
public Long getLasTimeUpdateComponents()
public void setLasTimeUpdateComponents(Long lastTimeUpdateComponents)
lasTimeUpdateCommands - the lasTimeUpdateCommands to setpublic RooBundleActivator getRooBundleActivator()
public static String versionInfoWithoutGit()
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.