|
Knopflerfish OSGi 3.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the cd command service interface for the Oscar shell service. The cd command does not really change the directory of the shell, rather it maintains a base URL for simplifying URL entry.
For example, if the base URL is http://www.foo.com/ and you try to install a bundle foo.jar, the actual URL will be expanded to http://www.foo.com/foo.jar. Any bundles wishing to retrieve or set the current directory of the shell can use this service interface.
| Field Summary | |
static java.lang.String |
BASE_URL_PROPERTY
Property used to configure the base URL. |
| Method Summary | |
java.lang.String |
getBaseURL()
Returns the current directory of the Oscar shell service. |
void |
setBaseURL(java.lang.String s)
Sets the current directory of the Oscar shell service. |
| Methods inherited from interface org.ungoverned.osgi.service.shell.Command |
execute, getName, getShortDescription, getUsage |
| Field Detail |
public static final java.lang.String BASE_URL_PROPERTY
| Method Detail |
public java.lang.String getBaseURL()
public void setBaseURL(java.lang.String s)
s - the new value for the base URL.
|
Knopflerfish OSGi 3.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||