1 package gov.nasa.jpf; 20 21 import gov.nasa.jpf.Path; 22 import java.io.Writer ; 23 24 import java.io.PrintWriter ; 25 26 27 32 public interface VM { 33 int getAbstractionNonDeterministicThreadCount (); 35 36 int getAliveThreadCount (); 37 38 boolean isBoringState (); 39 40 boolean isDeadlocked (); 41 42 Exception getException (); 43 44 boolean isInterestingState (); 47 48 Transition getLastTransition (); 49 50 Path getPath (); 51 52 int getPathLength (); 53 54 int getRunnableThreadCount (); 55 56 62 VMState getState (); 63 64 String getThreadName (); 65 66 boolean initialize(); 67 68 boolean backtrack (); 69 70 boolean forward (); 71 72 boolean isNewState (); 73 74 boolean isEndState (); 75 76 int getStateId (); 77 78 void printStatus (); 79 80 void restoreState (VMState state); 81 82 void rewind (); 84 void savePath (Path path, Writer w); 85 86 void addListener (VMListener listener); 87 88 void printResults (PrintWriter pw); 89 } 90 | Popular Tags |