org.ops4j.pax.scanner
Interface ScannedBundle

All Known Implementing Classes:
ScannedBundleBean, ScannedFileBundle

public interface ScannedBundle

Metadata about the bundle.

Since:
August 16, 2007
Author:
Alin Dreghiciu

Method Summary
 java.lang.String getLocation()
          Returns the url to the bundle to be installed.
 java.lang.Integer getStartLevel()
          The start level of the bundle.
 java.lang.Boolean shouldStart()
          Should the bundle should be started?
 java.lang.Boolean shouldUpdate()
          Should the bundle should be updated?
 

Method Detail

getLocation

java.lang.String getLocation()
Returns the url to the bundle to be installed.

Returns:
an url

getStartLevel

java.lang.Integer getStartLevel()
The start level of the bundle. If null is returned the start level will not be set on the bundle.

Returns:
the start level

shouldStart

java.lang.Boolean shouldStart()
Should the bundle should be started?

Returns:
true, if the bundle should start

shouldUpdate

java.lang.Boolean shouldUpdate()
Should the bundle should be updated?

Returns:
true, if the bundle should be updated


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.