This class represents a simple console for accessing the underlying OSGi environment of a PepperOSGiConnector.
More...
|
|
PepperOSGiConnector | getConnector () |
| |
| | OSGiConsole (PepperOSGiConnector connector, String prefixPrompt) |
| | Initializes an object.
|
| |
|
void | start () |
| | Starts this console, using std in and std out.
|
| |
| String | help () |
| | Returns the help page for this console.
|
| |
|
void | start (BufferedReader in, PrintStream out) |
| |
| void | ss (List< String > params, PrintStream out) |
| | Executes OSGi command 'ss'.
|
| |
| void | ls (List< String > params, PrintStream out) |
| | Executes OSGi command 'ls'.
|
| |
| Long | install (List< String > params, PrintStream out) |
| | Executes OSGi command 'install'.
|
| |
| void | start (List< String > params, PrintStream out) |
| | Executes OSGi command 'start'.
|
| |
| void | installAndStart (List< String > params, PrintStream out) |
| | Executes command 'launch', calling the OSGi command 'install' and 'start'.
|
| |
| void | update (List< String > params, PrintStream out) |
| | Executes command 'update', calling the OSGi commands 'uninstall', 'install' and 'start'.
|
| |
| void | stop (List< String > params, PrintStream out) |
| | Executes OSGi command 'stop'.
|
| |
| void | uninstall (List< String > params, PrintStream out) |
| | Executes OSGi command 'uninstall'.
|
| |
| void | remove (List< String > params, PrintStream out) |
| | Executes command 'remove'.
|
| |
|
String | transformState (int state) |
| |
This class represents a simple console for accessing the underlying OSGi environment of a PepperOSGiConnector.
It allows simple commands.
- Author
- Florian Zipser
◆ OSGiConsole()
| org.corpus_tools.pepper.cli.OSGiConsole.OSGiConsole |
( |
PepperOSGiConnector |
connector, |
|
|
String |
prefixPrompt |
|
) |
| |
Initializes an object.
- Parameters
-
| connector | the PepperOSGiConnector to be used to access the OSGi environment |
| prefixPrompt | the prefix prompt to be displayed, before the prompt of this console. |
◆ help()
| String org.corpus_tools.pepper.cli.OSGiConsole.help |
( |
| ) |
|
Returns the help page for this console.
- Returns
◆ install()
| Long org.corpus_tools.pepper.cli.OSGiConsole.install |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes OSGi command 'install'.
- Parameters
-
◆ installAndStart()
| void org.corpus_tools.pepper.cli.OSGiConsole.installAndStart |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes command 'launch', calling the OSGi command 'install' and 'start'.
- Parameters
-
◆ ls()
| void org.corpus_tools.pepper.cli.OSGiConsole.ls |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes OSGi command 'ls'.
- Parameters
-
◆ remove()
| void org.corpus_tools.pepper.cli.OSGiConsole.remove |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes command 'remove'.
- Parameters
-
◆ ss()
| void org.corpus_tools.pepper.cli.OSGiConsole.ss |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes OSGi command 'ss'.
- Parameters
-
◆ start()
| void org.corpus_tools.pepper.cli.OSGiConsole.start |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes OSGi command 'start'.
- Parameters
-
◆ stop()
| void org.corpus_tools.pepper.cli.OSGiConsole.stop |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes OSGi command 'stop'.
- Parameters
-
◆ uninstall()
| void org.corpus_tools.pepper.cli.OSGiConsole.uninstall |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes OSGi command 'uninstall'.
- Parameters
-
◆ update()
| void org.corpus_tools.pepper.cli.OSGiConsole.update |
( |
List< String > |
params, |
|
|
PrintStream |
out |
|
) |
| |
Executes command 'update', calling the OSGi commands 'uninstall', 'install' and 'start'.
- Parameters
-