org.knowhowlab.osgi.shell.equinox
Class AbstractEquinoxCommandProvider
java.lang.Object
org.knowhowlab.osgi.shell.equinox.AbstractEquinoxCommandProvider
- All Implemented Interfaces:
- org.eclipse.osgi.framework.console.CommandProvider
public abstract class AbstractEquinoxCommandProvider
- extends Object
- implements org.eclipse.osgi.framework.console.CommandProvider
Abstract class of Equinox Command Provider
- Author:
- dmytro.pishchukhin
|
Method Summary |
protected String[] |
fetchCommandParams(org.eclipse.osgi.framework.console.CommandInterpreter interpreter)
Fetch command line arguments from source |
String |
getHelp()
|
protected void |
runCommand(String commandName,
org.eclipse.osgi.framework.console.CommandInterpreter interpreter)
Run command method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEquinoxCommandProvider
public AbstractEquinoxCommandProvider(Object service,
String groupName,
Set<String> commandHelps)
getHelp
public String getHelp()
- Specified by:
getHelp in interface org.eclipse.osgi.framework.console.CommandProvider
fetchCommandParams
protected String[] fetchCommandParams(org.eclipse.osgi.framework.console.CommandInterpreter interpreter)
- Fetch command line arguments from source
- Parameters:
interpreter - argument source
- Returns:
- not
null arguments array
runCommand
protected void runCommand(String commandName,
org.eclipse.osgi.framework.console.CommandInterpreter interpreter)
- Run command method
- Parameters:
commandName - command nameinterpreter - interpreter
Copyright © 2015 Know-How Lab. All rights reserved.