Package org.apache.felix.gogo.shell
Class Shell
java.lang.Object
org.apache.felix.gogo.shell.Shell
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShell
(org.osgi.framework.BundleContext context, org.apache.felix.service.command.CommandProcessor processor) -
Method Summary
Modifier and TypeMethodDescriptionprivate Object
console
(org.apache.felix.service.command.CommandSession session) (package private) static URI
cwd
(org.apache.felix.service.command.CommandSession session) getVariables
(org.apache.felix.service.command.CommandSession session) String[]
history()
private CharSequence
readScript
(URI script) private void
shutdown()
-
Field Details
-
functions
-
CWD
-
baseURI
-
context
private final org.osgi.framework.BundleContext context -
processor
private final org.apache.felix.service.command.CommandProcessor processor -
history
-
systemBundle
private volatile org.osgi.framework.Bundle systemBundle
-
-
Constructor Details
-
Shell
public Shell(org.osgi.framework.BundleContext context, org.apache.felix.service.command.CommandProcessor processor)
-
-
Method Details
-
gosh
public Object gosh(org.apache.felix.service.command.CommandSession session, String[] argv) throws Exception - Throws:
Exception
-
sh
public Object sh(org.apache.felix.service.command.CommandSession session, String[] argv) throws Exception - Throws:
Exception
-
shutdown
private void shutdown() throws org.osgi.framework.BundleException- Throws:
org.osgi.framework.BundleException
-
source
public Object source(org.apache.felix.service.command.CommandSession session, String script) throws Exception - Throws:
Exception
-
console
-
readScript
- Throws:
Exception
-
getVariables
-
cwd
-
history
-