@@ -0,0 +1,1018 @@
+/**%0A * Copyright 2016 Bryan Kelly%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not%0A * use this file except in compliance with the License.%0A *%0A * You may obtain a copy of the License at%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A * License for the specific language governing permissions and limitations%0A * under the License.%0A */%0Apackage io.github.btkelly.gandalf;%0A%0Aimport io.github.btkelly.gandalf.models.Alert;%0Aimport io.github.btkelly.gandalf.models.OptionalUpdate;%0Aimport io.github.btkelly.gandalf.models.RequiredUpdate;%0A%0Apublic interface Callback %7B%0A%0A    void onRequiredUpdate(Gandalf gandalf, RequiredUpdate requiredUpdate);%0A    void onOptionalUpdate(Gandalf gandalf, OptionalUpdate optionalUpdate);%0A    void onAlert(Gandalf gandalf, Alert alert);%0A%0A%7D%0A

add callback to allow responding to different criteria being met