org.apache.felix.obrplugin

Class Config

public class Config extends Object

this class is used to store some user information about configuration of the plugin.

Author: Felix Project Team

Constructor Summary
Config()
constructor: set default configuration: use relative path and don't upload file.
Method Summary
URIgetRemoteBundle()
booleanisPathRelative()
booleanisRemoteFile()
voidsetPathRelative(boolean value)
voidsetRemoteBundle(URI value)
voidsetRemoteFile(boolean value)

Constructor Detail

Config

public Config()
constructor: set default configuration: use relative path and don't upload file.

Method Detail

getRemoteBundle

public URI getRemoteBundle()

Returns: 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

setPathRelative

public void setPathRelative(boolean value)

Parameters: value enable to use relative path

setRemoteBundle

public void setRemoteBundle(URI value)

Parameters: value public address of deployed bundle

setRemoteFile

public void setRemoteFile(boolean value)

Parameters: value enable when uploading

Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.