| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Instrument
Interface that must be implemented by instruments.
| Method Summary | |
|---|---|
|  Object | getContext()Gets the context of the instrument. | 
|  InstrumentationLevel | getLevel()Gets the instrumentation level of this instrument. | 
|  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. | 
|  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. | 
|  void | start()Starts the instrument. | 
|  void | stop()Starts the instrument. | 
| Method Detail | 
|---|
String getName()
String getOptions()
void setOptions(String options)
options - optionsObject getContext()
void setContext(Object context)
void setProvider(InstrumentationProvider provider)
provider - instrumentation provider of the instrumentInstrumentationProvider getProvider()
void initialize()
InstrumentationLevel getLevel()
boolean isStarted()
void setStarted(boolean started)
started - void start()
void stop()
void restart()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||