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

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

public class MockitoBundlesOption
extends AbstractDelegateProvisionOption<MockitoBundlesOption>

Option specifying Mockito bundles (osgi-fyed mockito). See: http://code.google.com/p/mockito/ By default uses the mockito-all delivery wrapped up on the fly as a bundle. Version: 1.7. Can be changed.

Since:
Mar 14, 2009
Author:
Toni Menzel (tonit), Alin Dreghiciu (adreghiciu@gmail.com)

Constructor Summary
MockitoBundlesOption()
          Constructor.
 
Method Summary
protected  MockitoBundlesOption itself()
          Implemented by sub classes in order to return itself (this) for fluent api usage
 java.lang.String toString()
          
 MockitoBundlesOption version(java.lang.String version)
          Sets the Mockito 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

MockitoBundlesOption

public MockitoBundlesOption()
Constructor.

Method Detail

version

public MockitoBundlesOption version(java.lang.String version)
Sets the Mockito version.

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

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

itself

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

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


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