|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PRStackFrame
The PRStackFrame
interface serves primarily to provide a
logical stack-trace capability. Additionally, each instance
encapsulates the context information for one processing step during execution:
String
descriptor for this processing stepParameterPage
Any PRStackFrame
instance becomes inactive at the end of
the processing step it represents, and can no longer be used for processing.
But even an inactive instance can be used to trace the sequence of stack
frames that led to its creation.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Method Summary | |
---|---|
java.lang.String |
getLabel()
Identifies the label of this stack frame. |
PRStackFrame |
getNext()
Identifies the stack frame, if any, that is executing immediately within this one. |
StringMap |
getParameterPage()
Identifies the ParameterPage of this stack frame. |
PRStackFrame |
getPrevious()
Identifies the stack frame from which the current instance was created. |
ClipboardPage |
getPrimaryPage()
Identifies the Primary Page of this stack frame. |
PRStackFrame |
getRootOfStack()
Locates the root (first) frame of the stack that includes this instance. |
ProcessingStatus |
getStatus()
Identifies the Step Status of this stack frame. |
ClipboardPage |
getStepPage()
Identifies the Step Page of this stack frame. |
PRStackFrame |
getTopOfStack()
Locates the frame at the top of the stack that includes (or included) this instance. |
boolean |
isActive()
Indicates whether this instance is active, that is, whether it is still part of an execution stack. |
boolean |
isRoot()
Indicates whether this instance is the root (first) frame of an execution stack. |
boolean |
isTop()
Indicates whether this instance is currently the top frame of an execution stack. |
void |
setParameterPage(StringMap aNewPage)
Identifies the new ParameterPage of this stack frame. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
Method Detail |
---|
PRStackFrame getRootOfStack()
PRStackFrame getTopOfStack()
PRStackFrame getPrevious()
null
if this is the
root framePRStackFrame getNext()
null
if this frame is
at the top of the stack (or is inactive)java.lang.String getLabel()
StringMap getParameterPage()
ParameterPage
of this stack frame.
ParameterPage
or StringMap
specified when this instance was created (or updated)ClipboardPage getPrimaryPage()
ClipboardPage getStepPage()
ProcessingStatus getStatus()
boolean isActive()
true
if this instance is active;
false
otherwiseboolean isRoot()
true
if this is a root instance;
false
otherwiseboolean isTop()
true
if this instance is at the top of a stack;
false
otherwisevoid setParameterPage(StringMap aNewPage)
ParameterPage
of this stack frame. May be
any class that implements StringMap, including ParameterPage or ClipboardPage.
aNewPage
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |