Package org.apache.felix.obrplugin
Class Config
- java.lang.Object
-
- org.apache.felix.obrplugin.Config
-
public class Config extends java.lang.Objectthis class is used to store some user information about configuration of the plugin.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanm_pathRelativeprivate java.net.URIm_remoteBundleprivate booleanm_remoteFile
-
Constructor Summary
Constructors Constructor Description Config()constructor: set default configuration: use relative path and don't upload file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URIgetRemoteBundle()booleanisPathRelative()booleanisRemoteFile()voidsetPathRelative(boolean value)voidsetRemoteBundle(java.net.URI value)voidsetRemoteFile(boolean value)
-
-
-
Method Detail
-
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
public void setRemoteBundle(java.net.URI value)
- 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
public java.net.URI getRemoteBundle()
- Returns:
- public address of deployed bundle
-
-