Package org.apache.felix.obrplugin
Class Config
java.lang.Object
org.apache.felix.obrplugin.Config
this class is used to store some user information about configuration of the plugin.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConfig()
constructor: set default configuration: use relative path and don't upload file. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setPathRelative
(boolean value) void
setRemoteBundle
(URI value) void
setRemoteFile
(boolean value)
-
Field Details
-
m_pathRelative
private boolean m_pathRelative -
m_remoteFile
private boolean m_remoteFile -
m_remoteBundle
-
-
Constructor Details
-
Config
public Config()constructor: set default configuration: use relative path and don't upload file.
-
-
Method Details
-
setPathRelative
public void setPathRelative(boolean value) - Parameters:
value
- enable to use relative path
-
setRemoteFile
public void setRemoteFile(boolean value) - Parameters:
value
- enable when uploading
-
setRemoteBundle
- Parameters:
value
- public address of deployed bundle
-
isPathRelative
public boolean isPathRelative()- Returns:
- true if plugin uses relative path, else false
-
isRemoteFile
public boolean isRemoteFile()- Returns:
- true if the file will be uploaded, else false
-
getRemoteBundle
- Returns:
- public address of deployed bundle
-