public class PrintableSnapshot
extends java.lang.Object
Constructor and Description |
---|
PrintableSnapshot(Snapshot start,
int level)
Instantiates a
PrintableSnapshot . |
Modifier and Type | Method and Description |
---|---|
Snapshot |
getEnd()
Gets the end snapshot.
|
int |
getLevel()
Gets the level.
|
Snapshot |
getStart()
Gets the base snapshot.
|
Snapshot.Type |
getType()
Gets the type.
|
void |
setEnd(Snapshot end)
Sets the end value.
|
void |
setEnd(Snapshot end,
Snapshot.Type type)
Sets the end.
|
java.lang.String |
toString() |
public PrintableSnapshot(Snapshot start, int level)
PrintableSnapshot
.start
- the snapshot taken as a reference.level
- the level of the stack.public Snapshot getStart()
public void setEnd(Snapshot end, Snapshot.Type type)
end
- the Snapshot
.type
- the type of snapshot.public Snapshot getEnd()
public java.lang.String toString()
toString
in class java.lang.Object
public int getLevel()
public Snapshot.Type getType()