|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grinder.scriptengine.CompositeInstrumenter
public class CompositeInstrumenter
Composite instrumenter.
| Field Summary |
|---|
| Fields inherited from interface net.grinder.scriptengine.Instrumenter |
|---|
ALL_INSTRUMENTATION |
| Constructor Summary | |
|---|---|
CompositeInstrumenter(Instrumenter... instrumenters)
Constructor. |
|
CompositeInstrumenter(List<Instrumenter> instrumenters)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
createInstrumentedProxy(Test test,
Recorder recorder,
Object target)
Create a proxy object that wraps an target object for a test. |
String |
getDescription()
Public description of the Instrumenter. |
boolean |
instrument(Test test,
Recorder recorder,
Object target)
Instrument a target object with a test. |
boolean |
instrument(Test test,
Recorder recorder,
Object target,
Test.InstrumentationFilter filter)
Selectively instrument a target object with a test. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeInstrumenter(Instrumenter... instrumenters)
instrumenters - Ordered list of instrumenters.public CompositeInstrumenter(List<Instrumenter> instrumenters)
instrumenters - Ordered list of instrumenters.| Method Detail |
|---|
public Object createInstrumentedProxy(Test test,
Recorder recorder,
Object target)
throws NotWrappableTypeException
createInstrumentedProxy in interface Instrumentertest - The test.recorder - The proxy should use this to instrument the work.target - Object to wrap.
NotWrappableTypeException - If the target object cannot be wrapped.
public boolean instrument(Test test,
Recorder recorder,
Object target)
throws NonInstrumentableTypeException
instrument in interface Instrumentertest - The test.recorder - Wire the instrumentation to this Recorder.target - The object to instrument.
true if instrumentation was added.
NonInstrumentableTypeException - If the target object cannot be instrumented.
public boolean instrument(Test test,
Recorder recorder,
Object target,
Test.InstrumentationFilter filter)
throws NonInstrumentableTypeException
instrument in interface Instrumentertest - The test.recorder - Wire the instrumentation to this Recorder.target - The object to instrument.filter - Selects the parts of target to instrument.
true if instrumentation was added.
NonInstrumentableTypeException - If the target object cannot be instrumented.public String getDescription()
Instrumenter.
getDescription in interface Instrumenternull for internal Instrumenters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||