|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextManager
Class for managing contexts registered within the system. A context is defined by the BasherContext
class and represents the runtime properties of a performance or testing run.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_BASHER_CONTEXT_NAME
|
| Method Summary | |
|---|---|
void |
addBasherContext(BasherContext basherContext)
Adds the specified context to the system. |
BasherContext |
getActiveBasherContext()
Retrieves the currently active context. |
BasherContext |
getBasherContext(java.lang.String contextName)
Retrieves the by name specified context. |
java.util.List<BasherContext> |
getBasherContexts()
Retrieves the list of all registered contexts. |
void |
setActiveBasherContext(BasherContext basherContext)
Sets the specified context to be the active, used context. |
| Field Detail |
|---|
static final java.lang.String DEFAULT_BASHER_CONTEXT_NAME
| Method Detail |
|---|
BasherContext getActiveBasherContext()
void setActiveBasherContext(BasherContext basherContext)
basherContext - The context to activate.BasherContext getBasherContext(java.lang.String contextName)
contextName - The name of the context to retrieve.
java.util.List<BasherContext> getBasherContexts()
void addBasherContext(BasherContext basherContext)
basherContext - The context to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||