Package ise.antelope.tasks
Interface Breakable
-
- All Known Implementing Classes:
Break,Case,DefaultCase,ElseTask,IfTask
public interface BreakableTaskContainers that implement this interface can set a break flag to indicate to containers that a break condition has occurred. The break flag is set to true when the task executes a Break task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBreak(Break b)Adds a nested Break.booleandoBreak()voidsetBreak(boolean b)Set the break flag to the given value.
-
-
-
Method Detail
-
setBreak
void setBreak(boolean b)
Set the break flag to the given value.- Parameters:
b- the value for the flag
-
addBreak
void addBreak(Break b)
Adds a nested Break.- Parameters:
b- the Break to add
-
doBreak
boolean doBreak()
- Returns:
- the value of the break flag.
-
-