org.ops4j.pax.exam.junit.options
Class JUnitBundlesOption

java.lang.Object
  extended by org.ops4j.pax.exam.options.AbstractDelegateProvisionOption<JUnitBundlesOption>
      extended by org.ops4j.pax.exam.junit.options.JUnitBundlesOption
All Implemented Interfaces:
Option, ProvisionControl<JUnitBundlesOption>, ProvisionOption<JUnitBundlesOption>, UrlReference

public class JUnitBundlesOption
extends AbstractDelegateProvisionOption<JUnitBundlesOption>

Option specifying junit bundles (osgi-fyed JUnit). By default uses junit bundle published by SpringSource, version 4.4.0 (can be changed).

Since:
0.3.0, December 09, 2008
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Constructor Summary
JUnitBundlesOption()
          Constructor.
 
Method Summary
protected  JUnitBundlesOption itself()
          Implemented by sub classes in order to return itself (this) for fluent api usage
 java.lang.String toString()
          
 JUnitBundlesOption version(java.lang.String version)
          Sets the junit version.
 
Methods inherited from class org.ops4j.pax.exam.options.AbstractDelegateProvisionOption
getDelegate, getStartLevel, getURL, noStart, noUpdate, shouldStart, shouldUpdate, start, start, startLevel, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JUnitBundlesOption

public JUnitBundlesOption()
Constructor.

Method Detail

version

public JUnitBundlesOption version(java.lang.String version)
Sets the junit version.

Parameters:
version - junit version.
Returns:
itself, for fluent api usage

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

itself

protected JUnitBundlesOption itself()
Implemented by sub classes in order to return itself (this) for fluent api usage

Specified by:
itself in class AbstractDelegateProvisionOption<JUnitBundlesOption>
Returns:
itself


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