|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbr.com.oncast.dev.lobo.eval.bean.ProfileScenario
public class ProfileScenario
A sub-tree of the reporting profile bean tree specific to a profile scenario.
Profile Scenarios are java methods inside a Profile Case.
| Constructor Summary | |
|---|---|
ProfileScenario(java.lang.String scenarioMethod)
Creates a new instance of ProfileScenario. |
|
| Method Summary | |
|---|---|
void |
addMetric(ProfileMetric metric)
Adds a ProfileMetric to the ProfileScenario. |
ProfileMetric |
getMetric(java.lang.String key)
Returns a previously added metric given its key. |
java.util.Collection<ProfileMetric> |
getMetrics()
Returns all the collected metrics. It is guaranteed that the returned collection of ProfileMetrics while iterate over them in the insertion
order. |
java.lang.String |
getScenarioMethod()
|
void |
removeMetric(ProfileMetric metric)
Removes a metric from the scenario. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileScenario(java.lang.String scenarioMethod)
scenarioMethod - the name of the method coding the scenario.| Method Detail |
|---|
public java.lang.String getScenarioMethod()
public void addMetric(ProfileMetric metric)
ProfileMetric to the ProfileScenario.
public ProfileMetric getMetric(java.lang.String key)
key.
key - the metric key.
key or null if it could not be found.public java.util.Collection<ProfileMetric> getMetrics()
ProfileMetrics while iterate over them in the insertion
order.
public void removeMetric(ProfileMetric metric)
metric - the metric to be removed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||