Something went wrong on our end
-
Peter Joseph De Jonckheere CESM2014 authoredPeter Joseph De Jonckheere CESM2014 authored
StimulusStrategy.java 669 B
package com.notificationFramework.stimulusStrategy;
/**
* Created by pharmacy on 09/01/2018.
*/
public interface StimulusStrategy {
//Begins the monitoring process of the strategy in Android OS e.g. monitoring of the clock for five minute intervals
void monitor();
/*
TBD whether required, observable cannot be extended by an interface so either concrete classes extend this (preferred i think)
or this becomes an abstract class
SOLVED NOT REQUIRED NOW USING SERVICES
@Override
//Will notify the Stimulus when monitoring is true. Monitoring only started by method monitor() then carried out internally
public void notify();
*/
}