|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.illinois.imunit.IMUnit
public class IMUnit
Provides the API for maintaining schedule state and enforcing schedules.
Constructor Summary | |
---|---|
IMUnit()
|
Method Summary | |
---|---|
static void |
clearSchedule()
Clears the current schedule state. |
static void |
fireEvent(java.lang.String eventName)
Method called to notify the occurrence of an event. |
static java.lang.String |
getSchedule()
Returns the current schedule's name. |
static boolean |
isSchedule(java.lang.String name)
Returns true if the given name is the name of the current schedule,
false otherwise. |
static void |
setSchedule(java.lang.String name,
Orderings orderings)
Sets the current schedule state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IMUnit()
Method Detail |
---|
public static java.lang.String getSchedule()
public static boolean isSchedule(java.lang.String name)
true
if the given name is the name of the current schedule,
false
otherwise.
name
-
true
if the given name is the name of the current schedule,
false
otherwise.public static void setSchedule(java.lang.String name, Orderings orderings)
IMUnitRunner
for each
test/schedule pair.
name
- orderings
- public static void clearSchedule()
public static void fireEvent(java.lang.String eventName)
eventName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |