Newer
Older

Peter Joseph De Jonckheere CESM2014
committed
package com.example.stimulus;

Peter Joseph De Jonckheere CESM2014
committed
import android.content.BroadcastReceiver;

Peter Joseph De Jonckheere CESM2014
committed
import com.example.notification.Notification;
import com.example.stimulusStrategy.Accelerometer;
import com.example.stimulusStrategy.Clock;
import com.example.stimulusStrategy.StimulusStrategy;
import java.util.Observer;
/**
* Created by pharmacy on 09/01/2018.
*/

Peter Joseph De Jonckheere CESM2014
committed
public interface Stimulus {

Peter Joseph De Jonckheere CESM2014
committed

Peter Joseph De Jonckheere CESM2014
committed
//StimulusStrategy defaultStrategy = new Clock(context);

Peter Joseph De Jonckheere CESM2014
committed
//Creates an instance of the desired notifcation type (Factory Method)
//TBD if this is to be public
Notification createNotification();
//Allows the Stimulus Strategy to be used with this stimlus to be chosen
void chooseStrategy(StimulusStrategy s);
}