org.ops4j.pax.radman.service.bundleManager.jobs
Class InstallBundleJobParam

java.lang.Object
  extended by org.ops4j.pax.radman.service.bundleManager.jobs.InstallBundleJobParam
All Implemented Interfaces:
java.io.Serializable, JobParam

public final class InstallBundleJobParam
extends java.lang.Object
implements JobParam

InstallBundleJobParam represent a job param for InstallBundleJobService.

Since:
0.1.0
Author:
Edward Yakop
See Also:
To install a bundle., Serialized Form

Constructor Summary
InstallBundleJobParam(java.lang.String url, java.lang.Integer startLevel)
          Construct an instance of InstallBundleJobParam with the specified argument.
 
Method Summary
 java.lang.String getBundleURL()
          Returns the bundle URL.
 java.lang.Integer getStartLevel()
          Returns the start level of the installed bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallBundleJobParam

public InstallBundleJobParam(java.lang.String url,
                             java.lang.Integer startLevel)
                      throws java.lang.IllegalArgumentException
Construct an instance of InstallBundleJobParam with the specified argument.

Parameters:
url - The bundle URL. This argument must not be null.
startLevel - The start level. Sets to null to use the initial OSGi container start level.
Throws:
java.lang.IllegalArgumentException - THrown if the specified url is null.
Since:
0.1.0
Method Detail

getBundleURL

public final java.lang.String getBundleURL()
Returns the bundle URL.

Returns:
The bundle URL.
Since:
0.1.0

getStartLevel

public final java.lang.Integer getStartLevel()
Returns the start level of the installed bundle. Returns null to use the OSGi container start level.

Returns:
The bundle start level.
Since:
0.1.0
See Also:
StartLevel.getInitialBundleStartLevel()


Copyright © 2008. All Rights Reserved.