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

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

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

BundleJobParam represents a bundle job param.

Depending on which job service uses this param. This param can describes "uninstall" or "start" or "stop" the specified bundle.

Since:
0.1.0
Author:
Edward Yakop
See Also:
To uninstall a bundle., To start a bundle., To stop a bundle., Serialized Form

Constructor Summary
BundleJobParam(java.lang.String bundleSymbolicName, java.lang.String version)
          Construct the BundleJobParam with the specified arguments.
 
Method Summary
 java.lang.String getBundleSymbolicName()
          Returns the bundle symbolic name.
 java.lang.String getBundleVersion()
          Returns the bundle version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleJobParam

public BundleJobParam(java.lang.String bundleSymbolicName,
                      java.lang.String version)
               throws java.lang.IllegalArgumentException
Construct the BundleJobParam with the specified arguments.

Parameters:
bundleSymbolicName - The bundle symbolic name. This argument must not be null.
version - The bundle version. Sets to null if the version is the default version "0.0.0".
Throws:
java.lang.IllegalArgumentException - Thrown if the bundleSymbolicName is null or the version is improperly formatted.
Since:
0.1.0
Method Detail

getBundleSymbolicName

public final java.lang.String getBundleSymbolicName()
Returns the bundle symbolic name.

Returns:
The bundle symbolic name.
Since:
0.1.0

getBundleVersion

public final java.lang.String getBundleVersion()
Returns the bundle version.

Returns:
The bundle version.
Since:
0.1.0


Copyright © 2008. All Rights Reserved.