org.argouml.cognitive
Interface Poster

All Known Implementing Classes:
Critic, Designer

public interface Poster

Interface that defines methods required on any object that can post a ToDoItem to the Designer's ToDoList. Basically requires that the poster (1) have contact information, (2) be able to snooze and unsnooze itself, and (3) be able to determine if a ToDoItem it posted previously should still be on the Designer's ToDoList.

Currently Critic and Designer implement this interface.

See Also:
Critic, Designer

Method Summary
 boolean canFixIt(ToDoItem item)
           
 boolean containsKnowledgeType(java.lang.String knowledgeType)
           
 java.lang.String expand(java.lang.String desc, VectorSet offs)
          Customize the description string just before it is displayed.
 void fixIt(ToDoItem item, java.lang.Object arg)
           
 javax.swing.Icon getClarifier()
           
 java.lang.String getExpertEmail()
          Get some contact information on the Poster.
 java.util.Vector getSupportedDecisions()
           
 java.util.Vector getSupportedGoals()
           
 void setExpertEmail(java.lang.String addr)
          Update the Poster's contact info.
 void snooze()
          temporarily disable this Poster.
 boolean stillValid(ToDoItem i, Designer d)
          Reply true if the given item should be kept on the Designer's ToDoList, false if it is no longer valid.
 boolean supports(Decision d)
           
 boolean supports(Goal g)
           
 void unsnooze()
          Unsnooze this Poster, it may resume posting without further delay.
 

Method Detail

getExpertEmail

public java.lang.String getExpertEmail()
Get some contact information on the Poster.


setExpertEmail

public void setExpertEmail(java.lang.String addr)
Update the Poster's contact info. Is this needed?


stillValid

public boolean stillValid(ToDoItem i,
                          Designer d)
Reply true if the given item should be kept on the Designer's ToDoList, false if it is no longer valid.


supports

public boolean supports(Decision d)

getSupportedDecisions

public java.util.Vector getSupportedDecisions()

supports

public boolean supports(Goal g)

getSupportedGoals

public java.util.Vector getSupportedGoals()

containsKnowledgeType

public boolean containsKnowledgeType(java.lang.String knowledgeType)

expand

public java.lang.String expand(java.lang.String desc,
                               VectorSet offs)
Customize the description string just before it is displayed.


getClarifier

public javax.swing.Icon getClarifier()

snooze

public void snooze()
temporarily disable this Poster.


unsnooze

public void unsnooze()
Unsnooze this Poster, it may resume posting without further delay.


fixIt

public void fixIt(ToDoItem item,
                  java.lang.Object arg)

canFixIt

public boolean canFixIt(ToDoItem item)


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