org.argouml.cognitive.critics
Class SnoozeOrder

java.lang.Object
  extended byorg.argouml.cognitive.critics.SnoozeOrder
All Implemented Interfaces:
java.io.Serializable

public class SnoozeOrder
extends java.lang.Object
implements java.io.Serializable

A Critic can be disabled for a certain amount of time by giving it the snooze command. Whereas most ControlMech's activate or deactivate Critic's based on evidence of the Designer's state of mind, this command allows the Designer to disable Critic's without stating any reason. However, after a period of time, the critic may become active again. We think this will often be convienent because Designer's have a lot of tacit knowledge about their own state of mind that is not worth making explicit.

See Also:
Serialized Form

Constructor Summary
SnoozeOrder()
           
 
Method Summary
 boolean getSnoozed()
           
protected  long nextInterval(long last)
           
 void setSnoozed(boolean h)
           
 void snooze()
           
 void unsnooze()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnoozeOrder

public SnoozeOrder()
Method Detail

getSnoozed

public boolean getSnoozed()

setSnoozed

public void setSnoozed(boolean h)

snooze

public void snooze()

unsnooze

public void unsnooze()

nextInterval

protected long nextInterval(long last)


ArgoUML © 1996-2003 (20040125)ArgoUML Project HomeArgoUML Cookbook