Interface SurveySchedule.ChangeDetector
- Enclosing class:
SurveySchedule
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Compares one survey with the survey before it.
-
Method Summary
Modifier and TypeMethodDescriptionbooleansurveyFoundChange(int surveyIndex) Determine whether a survey found a change since the survey before it.
-
Method Details
-
surveyFoundChange
boolean surveyFoundChange(int surveyIndex) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Determine whether a survey found a change since the survey before it.- Parameters:
surveyIndex- position of the survey in the completed survey history, most recent first - so 0 compares the latest completed survey with the one before it- Returns:
- true if the survey found a change
- Throws:
InvalidParameterException- the parameters are invalidPropertyServerException- problem accessing the property serverUserNotAuthorizedException- user is not authorized to issue this request
-