Package org.qdl_lang.workspace
Class InterruptUtil
- java.lang.Object
- 
- org.qdl_lang.workspace.InterruptUtil
 
- 
 public class InterruptUtil extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classInterruptUtil.SIThread
 - 
Constructor SummaryConstructors Constructor Description InterruptUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateInterrupt(InterruptException ie, SIInterrupts siInterrupts)For setting up the SIEntry and adding it to the set of siEntries.static voidprintSetupMessage(WorkspaceCommands workspaceCommands, InterruptException ie)static voidprintUpdateMessage(WorkspaceCommands workspaceCommands, SIEntry sie)static voidupdateSIE(InterruptException ix, SIEntry sie)After the resume command, this updates the entry with the nextInterruptException's state.
 
- 
- 
- 
Method Detail- 
createInterruptpublic static void createInterrupt(InterruptException ie, SIInterrupts siInterrupts) For setting up the SIEntry and adding it to the set of siEntries. This is the first stop in getting the SI (state indicator) working. Both theWorkspaceCommands.SIEntriesandSIEntryare updated, and information can be gotten from theInterruptException.- Parameters:
- ie-
- siInterrupts- set of interrupts user specified initially
 
 - 
updateSIEpublic static void updateSIE(InterruptException ix, SIEntry sie) After the resume command, this updates the entry with the nextInterruptException's state. Print out the update message if needed.- Parameters:
- ix-
- sie-
 
 - 
printUpdateMessagepublic static void printUpdateMessage(WorkspaceCommands workspaceCommands, SIEntry sie) 
 - 
printSetupMessagepublic static void printSetupMessage(WorkspaceCommands workspaceCommands, InterruptException ie) 
 
- 
 
-