public abstract class AbstractInstrument extends Object implements Instrument
| Constructor and Description |
|---|
AbstractInstrument() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext()
Gets the context of the instrument.
|
InstrumentationLevel |
getLevel()
Gets the instrumentation level of this instrument.
|
abstract String |
getName()
Returns the name of the instrument.
|
String |
getOptions()
Returns the options specified for the instrument in string form.
|
InstrumentationProvider |
getProvider()
Gets the instrumentation provider for the instrument.
|
abstract void |
initialize()
Initializes the instrument.
|
boolean |
isStarted()
Returns true if the instrument is started.
|
void |
restart()
Restarts the instrument.
|
void |
setContext(Object context)
Sets the context of the instrument.
|
void |
setOptions(String options)
Sets options to specify for the instrument in standard string form.
|
void |
setProvider(InstrumentationProvider provider)
Sets the instrumentation provider for the instrument.
|
void |
setStarted(boolean started)
Sets whether the instrument is an available state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstart, stoppublic Object getContext()
InstrumentgetContext in interface Instrumentpublic void setContext(Object context)
InstrumentsetContext in interface Instrumentpublic String getOptions()
InstrumentgetOptions in interface Instrumentpublic void setOptions(String options)
InstrumentsetOptions in interface Instrumentoptions - optionspublic boolean isStarted()
InstrumentisStarted in interface Instrumentpublic void setStarted(boolean started)
InstrumentsetStarted in interface Instrumentpublic void restart()
Instrumentrestart in interface Instrumentpublic void setProvider(InstrumentationProvider provider)
InstrumentsetProvider in interface Instrumentprovider - instrumentation provider of the instrumentpublic InstrumentationProvider getProvider()
InstrumentgetProvider in interface Instrumentpublic InstrumentationLevel getLevel()
InstrumentgetLevel in interface Instrumentpublic abstract String getName()
InstrumentgetName in interface Instrumentpublic abstract void initialize()
Instrumentinitialize in interface InstrumentCopyright © 2006–2020 Apache Software Foundation. All rights reserved.