Class SimpleCommand
java.lang.Object
org.puremvc.java.patterns.observer.Notifier
org.puremvc.java.patterns.command.SimpleCommand
public class SimpleCommand extends Notifier implements ICommand
A base ICommand implementation.
Your subclass should override the execute
 method where your business logic will handle the INotification.
- See Also:
 Controller,Notification,MacroCommand
- 
Field Summary
 - 
Constructor Summary
Constructors Constructor Description SimpleCommand() - 
Method Summary
Modifier and Type Method Description voidexecute(INotification notification)Fulfill the use-case initiated by the givenINotification.Methods inherited from class org.puremvc.java.patterns.observer.Notifier
sendNotification, sendNotification, sendNotificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.puremvc.java.interfaces.INotifier
sendNotification, sendNotification, sendNotification 
- 
Constructor Details
- 
SimpleCommand
public SimpleCommand() 
 - 
 - 
Method Details
- 
execute
Fulfill the use-case initiated by the given
INotification.In the Command Pattern, an application use-case typically begins with some user action, which results in an
INotificationbeing broadcast, which is handled by business logic in theexecutemethod of anICommand. 
 -