public class OdiDesigntimeBreakpoint
extends AbstractRepositoryEntity
OdiDesigntimeBreakpoint
is child entity in OdiPackage
->
Step
->OdiDesigntimeBreakpoint
and OdiUserProcedure
->
OdiUserProcedureLine
->OdiDesigntimeBreakpoint
aggregates,
represents a breakpoint set on one of OdiPackage
steps or one of
OdiUserProcedure
lines.
Lifecycle starts once breakpoint set on package's step or procedure's line, ends when the breakpoint is removed or one of the parent entities removed.
Modifier and Type | Method and Description |
---|---|
int |
getHitCount()
Returns number of times the breakpoint must be hit before suspending
execution, 0 by default meaning that execution will be suspended on the
first hit.
|
java.io.Serializable |
getInternalId() |
IRepositoryEntity |
getSecurityContainer() |
Step |
getStep()
|
OdiUserProcedureLine |
getUserProcedureLine()
|
boolean |
isEnabled()
Returns
true if the breakpoint is enabled or
false otherwise, true by default. |
boolean |
isFromStep()
Returns
true if the breakpoint is set on package's step and
false otherwise. |
boolean |
isFromUserProcedureLine()
Returns
true if the breakpoint is set on user procedure's line
and false otherwise. |
boolean |
isStopAfter()
Returns
true if execution engine should suspend execution
after executing this breakpoint's parent package's step or procedure's line
and false otherwise, false by default. |
void |
setEnabled(boolean pEnabled)
Enables breakpoint if pEnabled is
true or disables it
otherwise. |
void |
setHitCount(int pHitCount)
Sets number of times the breakpoint must be hit before execution
suspension.
|
void |
setStopAfter(boolean pStopAfter)
Tells execution engine to suspend execution after executing this
breakpoint' parent package's step or procedure line if
pStopAfter is true and after otherwise. |
public java.io.Serializable getInternalId()
public IRepositoryEntity getSecurityContainer()
public boolean isEnabled()
true
if the breakpoint is enabled or
false
otherwise, true
by default.setEnabled(boolean)
public void setEnabled(boolean pEnabled)
true
or disables it
otherwise.pEnabled
- new enabled state for the breakpointisEnabled()
public int getHitCount()
setHitCount(int)
public void setHitCount(int pHitCount)
pHitCount
- new hit count valuegetHitCount()
public boolean isStopAfter()
true
if execution engine should suspend execution
after executing this breakpoint's parent package's step or procedure's line
and false
otherwise, false
by default.setStopAfter(boolean)
public void setStopAfter(boolean pStopAfter)
pStopAfter
is true
and after otherwise.pStopAfter
- if to suspend execution after executing parent object or
notisStopAfter()
public boolean isFromStep()
true
if the breakpoint is set on package's step and
false
otherwise.getStep()
,
isFromUserProcedureLine()
public boolean isFromUserProcedureLine()
true
if the breakpoint is set on user procedure's line
and false
otherwise.getUserProcedureLine()
,
isFromStep()
public Step getStep()
Step
instance if availableisFromStep()
public OdiUserProcedureLine getUserProcedureLine()
OdiUserProcedureLine
instance if availableisFromUserProcedureLine()