org.apache.felix.obrplugin

Class ExtractBindexInfo

public class ExtractBindexInfo extends Object

this class is used to configure bindex and get information built by bindex about targeted bundle.

Author: Felix Project Team

Constructor Summary
ExtractBindexInfo(URI repoFilename, String outFile)
configure bindex and build information.
Method Summary
ListgetCapabilities()
extract capabilities from bindex information.
StringgetCopyright()
extract copyright from bindex information.
StringgetDescription()
extract description from bindex information.
StringgetDocumentation()
extract documentation from bindex information.
StringgetId()
extract source from bindex information.
StringgetLicense()
extract license from bindex information.
StringgetPresentationName()
extract presentation name from bindex information.
ListgetRequirement()
extract requirement from bindex information.
StringgetSource()
extract source from bindex information.
StringgetSymbolicName()
extract symbolic name from bindex information.
StringgetVersion()
extract version from bindex information.

Constructor Detail

ExtractBindexInfo

public ExtractBindexInfo(URI repoFilename, String outFile)
configure bindex and build information.

Parameters: repoFilename URI on OBR descriptor file outFile path on targeted jar-file

Throws: MojoExecutionException occurs if bindex configuration failed

Method Detail

getCapabilities

public List getCapabilities()
extract capabilities from bindex information.

Returns: bundle capabilities List

getCopyright

public String getCopyright()
extract copyright from bindex information.

Returns: bundle copyright

getDescription

public String getDescription()
extract description from bindex information.

Returns: bundle description

getDocumentation

public String getDocumentation()
extract documentation from bindex information.

Returns: bundle documentation

getId

public String getId()
extract source from bindex information.

Returns: bundle source

getLicense

public String getLicense()
extract license from bindex information.

Returns: bundle license

getPresentationName

public String getPresentationName()
extract presentation name from bindex information.

Returns: bundle presentation name

getRequirement

public List getRequirement()
extract requirement from bindex information.

Returns: bundle requirement List

getSource

public String getSource()
extract source from bindex information.

Returns: bundle source

getSymbolicName

public String getSymbolicName()
extract symbolic name from bindex information.

Returns: bundle symbolic name

getVersion

public String getVersion()
extract version from bindex information.

Returns: bundle version

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