Interface ActionCommand
- All Known Implementing Classes:
AbstractObserver
,ChatRoomUser
public interface ActionCommand
The interface
ActionCommand
represents a command that can be executed Implementations of
this interface encapsulate a specific action that can be triggered-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes the command Implementing classes should define the specific action to be performed when this method is called
-
Method Details
-
execute
void execute()Executes the command Implementing classes should define the specific action to be performed when this method is called
-