org.speakright.core
Interface IConfirmationNotifier

All Known Implementing Classes:
BaseSROQuestion.MyConfirmationWrapper, ConfirmationWrapper

public interface IConfirmationNotifier

Used to notifier a confirmation wrapper, so it can restore saved results. Used by IConfirmationFlow

Author:
IanRaeLaptop

Method Summary
 void notifyConfirmationFinished(boolean wasRejected, SRResults results)
          Did the user reject the confirmation (by saying 'no' or whatever the reject grammar word was).
 

Method Detail

notifyConfirmationFinished

void notifyConfirmationFinished(boolean wasRejected,
                                SRResults results)
Did the user reject the confirmation (by saying 'no' or whatever the reject grammar word was). This method MUST be called from within the confirmation flow's getNext.

Parameters:
wasRejected - whether the confirmation was rejected or not
results - the results object passed to getNext.