|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.qualitytest.blueprint.BlueprintSession
@NotThreadSafe public final class BlueprintSession
A BlueprintSession
holds information acquired while doing a blueprint of a class. This includes cycle
detection as well as statistical information.
Constructor Summary | |
---|---|
BlueprintSession()
|
Method Summary | |
---|---|
Set<Class<?>> |
getBlueprintClasses()
Retrieve all classes that have been blueprinted in the current session. |
int |
getBlueprintCount()
Retrieve the number of objects which have been blueprinted in the current session. |
String |
getContext()
Get the current blueprinting context as string. |
void |
pop()
Call after creating a blueprint of a class. |
boolean |
push(Class<?> clazz)
Call before creating a blueprint of a class. |
void |
setLastAction(String lastAction)
Specify the last action performed on an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlueprintSession()
Method Detail |
---|
public Set<Class<?>> getBlueprintClasses()
public int getBlueprintCount()
public String getContext()
public void pop()
public boolean push(@Nonnull Class<?> clazz)
clazz
- the class for which a blueprint is created
public void setLastAction(@Nonnull String lastAction)
BlueprintSession.getContext()
to allow for simpler debugging.
lastAction
- A description of the last action.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |