org.springframework.roo.shell
Class SimpleParser
java.lang.Object
org.springframework.roo.shell.SimpleParser
- All Implemented Interfaces:
- Parser
@Service
@References(value={@Reference(name="converter",strategy=LOOKUP,policy=DYNAMIC,referenceInterface=Converter.class,cardinality=OPTIONAL_MULTIPLE),@Reference(name="commands",strategy=LOOKUP,policy=DYNAMIC,referenceInterface=CommandMarker.class,cardinality=OPTIONAL_MULTIPLE)})
public final class SimpleParser
- extends Object
- implements Parser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleParser
public SimpleParser()
activate
protected void activate(org.osgi.service.component.ComponentContext context)
parse
public ParseResult parse(String buffer)
- Specified by:
parse
in interface Parser
complete
public int complete(String buffer,
int cursor,
List<String> candidates)
- Specified by:
complete
in interface Parser
helpReferenceGuide
public void helpReferenceGuide()
obtainHelp
public void obtainHelp(String buffer)
getEveryCommand
public Set<String> getEveryCommand()
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.