| org.ops4j.pax.exam.ExamSystem |
An instance that drives cross cutting concerns when using Pax Exam. - Provides System Resource Locations, - Cross Cutting default properties, - access to API entry (building probes, getting TestContainerFactory etc.)
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clears up resources taken by system (like temporary files)
| |||||||||||
Exam relies on uniquely used identifiers per system.
| |||||||||||
New Probe creator using this systems "caches".
| |||||||||||
Getting options of this "system".
| |||||||||||
A shortcut to
getOptions(Class) when expecting a single value. | |||||||||||
Each call to this method might create a new folder that is being cleared on clear().
| |||||||||||
Clears up resources taken by system (like temporary files)
Exam relies on uniquely used identifiers per system. This method gives you one UUID.
| purposeText | Human readable (short) text that can be used to backtrack the created identifier (for debugging and logging purposes) |
|---|
New Probe creator using this systems "caches".
TestProbeBuilder that can be used to create the actual probe.| IOException | in case of an IO problem. |
|---|
| options | options to be used additionally in this fork |
|---|
ExamSystem instance (new instance). The parent ExamSysten (the one
you called fork on) will notice and take care to bring down forked instances on
cleanup (for example).| IOException | in case creation of the new ExamSystem fails. (IO related).
|
|---|
Getting options of this "system". This is the prime method on accessing options of a giving system.
| optionType | type of option to be retrieved. |
|---|
A shortcut to getOptions(Class) when expecting a single value.
| optionType | type of option to be retrieved. |
|---|
Each call to this method might create a new folder that is being cleared on clear().