org.ops4j.pax.exam.options
Class BundleStartLevelOption

java.lang.Object
  extended by org.ops4j.pax.exam.options.BundleStartLevelOption
All Implemented Interfaces:
Option

public class BundleStartLevelOption
extends java.lang.Object
implements Option

Option specifying initial bundle start level.

Since:
0.5.0, April 23, 2009
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Constructor Summary
BundleStartLevelOption(int startLevel)
          Constructor.
 
Method Summary
 int getStartLevel()
          Getter.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleStartLevelOption

public BundleStartLevelOption(int startLevel)
Constructor.

Parameters:
startLevel - initial bundle start level (must be bigger then zero)
Throws:
java.lang.IllegalArgumentException - - If start level is <= 0
Method Detail

getStartLevel

public int getStartLevel()
Getter.

Returns:
startlevel (bigger then zero)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


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