org.ops4j.pax.exam.junit
Interface JUnit4ConfigMethod

All Known Implementing Classes:
AppliesToConfigMethod, DefaultConfigMethod

public interface JUnit4ConfigMethod

A source of configuration options.

Since:
02 03, 2009
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Method Summary
 Option[] getOptions()
          Returns an array of options.
 boolean matches(java.lang.reflect.Method testMethod)
          Returns true if the configuration method matches (applies) to the test method about to be run.
 

Method Detail

matches

boolean matches(java.lang.reflect.Method testMethod)
Returns true if the configuration method matches (applies) to the test method about to be run.

Parameters:
testMethod - test method that is about to be run
Returns:
tru, if the configuration method applies to the test method

getOptions

Option[] getOptions()
                    throws java.lang.Exception
Returns an array of options.

Returns:
array of options (cannot be null)
Throws:
java.lang.Exception - - If determining the options fails


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