Package jadex.commons
Interface ISteppable
-
- All Known Implementing Classes:
RuleSystemExecutor
public interface ISteppable
Interface for components that can be executed in stepmode.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addBreakpoint(java.lang.Object markerobj)
Add a breakpoint to the interpreter.void
addBreakpointCommand(ICommand command)
Add a command to be executed, when a breakpoint is reached.void
doStep()
Execute a step.boolean
isBreakpoint(java.lang.Object markerobj)
Check if a rule is a breakpoint for the interpreter.boolean
isStepmode()
Test if in stepmode.void
removeBreakpoint(java.lang.Object markerobj)
Remove a breakpoint from the interpreter.void
setStepmode(boolean stepmode)
Set the stepmode.
-
-
-
Method Detail
-
doStep
void doStep()
Execute a step.
-
setStepmode
void setStepmode(boolean stepmode)
Set the stepmode.- Parameters:
stepmode
- True for stepmode.
-
isStepmode
boolean isStepmode()
Test if in stepmode.- Returns:
- True, if in stepmode.
-
addBreakpoint
void addBreakpoint(java.lang.Object markerobj)
Add a breakpoint to the interpreter.
-
removeBreakpoint
void removeBreakpoint(java.lang.Object markerobj)
Remove a breakpoint from the interpreter.
-
isBreakpoint
boolean isBreakpoint(java.lang.Object markerobj)
Check if a rule is a breakpoint for the interpreter.
-
addBreakpointCommand
void addBreakpointCommand(ICommand command)
Add a command to be executed, when a breakpoint is reached.
-
-