|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.exam.Customizer
public abstract class Customizer
Hooks to inject certain activities into pax exam execution phases. All phases can contain code to customize things at different phases.
Constructor Summary | |
---|---|
Customizer()
|
Method Summary | |
---|---|
void |
customizeEnvironment(java.io.File workingFolder)
Callback method that can contain steps to finally change/set up the working environment. |
java.io.InputStream |
customizeTestProbe(java.io.InputStream testProbe)
Callback that allow to customize the ready built test probe. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Customizer()
Method Detail |
---|
public void customizeEnvironment(java.io.File workingFolder)
workingFolder
- final workingfolder (new File(".")) of your osgi setup. Be careful there,
the platform may not start if you (for example) delete things in there.public java.io.InputStream customizeTestProbe(java.io.InputStream testProbe) throws java.lang.Exception
testProbe
- stream of the probe
java.lang.Exception
- delegate exception handling to container as it would just clutter implementations.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |