updater.deciders
Interface IDecider

All Known Implementing Classes:
ConsoleBasedDecider, GUIBasedDecider, YesDeciderStub

public interface IDecider

Abstracts interaction with a user. A decider implements two pieces of functionality:


Method Summary
 boolean ask(String question)
           
 void tell(String message)
           
 

Method Detail

ask

boolean ask(String question)
Requires:
Question is not null.
Effects:
The given question is displayed to the user.
Returns:
True if the user answers "yes" and false if the user answers "no."

tell

void tell(String message)
Requires:
Message is not null.
Effects:
Displays the given message to the user.