|
|||||||||
| 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.ProfileCase
public class ProfileCase
Sub-tree of the profile reporting tree specific to a profile case.
A profile case is mapped into a java class, called ProfileCase Class. ProfileCase Classes have at least one of its
methods annotated with the Profile annotation.
| Constructor Summary | |
|---|---|
ProfileCase(java.lang.String caseClass)
Creates a new instance of ProfileCase. |
|
| Method Summary | |
|---|---|
void |
addScenario(ProfileScenario scenario)
Adds a scenario to the ProfileCase. |
java.lang.String |
getCaseClass()
|
ProfileScenario |
getScenario(java.lang.String scenarioMethod)
Returns a previously added scenario given its scenarioMethod. |
java.util.Collection<ProfileScenario> |
getScenarios()
Returns all the scenarios in the case. It is guaranteed that the returned collection of ProfileScenarios will iterate over them in the insertion
order. |
void |
removeScenario(ProfileScenario scenario)
Removes a scenario from the case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileCase(java.lang.String caseClass)
caseClass - the name of the class coding the profile case.| Method Detail |
|---|
public java.lang.String getCaseClass()
public void addScenario(ProfileScenario scenario)
ProfileCase.
scenario - the scenario to be added.public ProfileScenario getScenario(java.lang.String scenarioMethod)
scenarioMethod.
scenarioMethod - the scenario method name.
scenarioMethod or null if it could not be found.public java.util.Collection<ProfileScenario> getScenarios()
ProfileScenarios will iterate over them in the insertion
order.
public void removeScenario(ProfileScenario scenario)
scenario - the scenario to be removed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||