|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.plugins.perftest.ScenarioManager
public class ScenarioManager
Loads performance testing scenarios and parses into usable components by the JON resource components.
| Field Summary | |
|---|---|
static String |
SCENARIO_PROPERTY
System property that must be set to indicate what scenario to use. |
| Method Summary | |
|---|---|
CalltimeFactory |
getCalltimeFactory(String resourceTypeName)
|
ContentFactory |
getContentFactory(String resourceTypeName,
String packageTypeName)
Returns the content factory defined in the scenario for discovering packages of the specified type. |
static ScenarioManager |
getInstance()
Returns an instance of this class. |
MeasurementFactory |
getMeasurementFactory(String resourceTypeName)
Returns the measurement factory defined in the scenario for the specified resource type. |
ConfigurationFactory |
getPluginConfigurationFactory(String resourceTypeName)
Returns the configuration factory defined in the scenario for creating plugin configurations for the specified resource type. |
ResourceFactory |
getResourceFactory(String resourceTypeName)
Returns the resource factory defined in the scenario for the specified resource type. |
TraitFactory |
getTraitFactory(String resourceTypeName)
|
boolean |
isEnabled()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SCENARIO_PROPERTY
| Method Detail |
|---|
public static ScenarioManager getInstance()
public boolean isEnabled()
public ResourceFactory getResourceFactory(String resourceTypeName)
resourceTypeName - indicates which resource factory to return
null.public MeasurementFactory getMeasurementFactory(String resourceTypeName)
resourceTypeName - indicates the resource for which we're retrieving metrics
null.public CalltimeFactory getCalltimeFactory(String resourceTypeName)
public TraitFactory getTraitFactory(String resourceTypeName)
public ConfigurationFactory getPluginConfigurationFactory(String resourceTypeName)
resourceTypeName - indicates the resource for which we're retriving the plugin configuration
null
if the resource does not define a generator for its plugin configuration
public ContentFactory getContentFactory(String resourceTypeName,
String packageTypeName)
resourceTypeName - indicates the resource in which the type is definedpackageTypeName - indicated the type being discovered
null if the scenario does not define a generator for
a particular type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||