Interface ConfigUpdateCallback

    • Method Detail

      • beforeUpdate

        void beforeUpdate()
        Called before update is invoked
      • onSuccessfulUpdate

        void onSuccessfulUpdate​(@NotNull
                                Set<String> updatedProjectExtIds)
        Called when project settings were successfully updated
        Parameters:
        updatedProjectExtIds - set of project extIds which were created or updated
      • onConfigErrors

        void onConfigErrors​(@NotNull
                            Map<File,​String> configErrors)
        Called when new config errors were detected after settings update
        Parameters:
        configErrors - config errors (file where the error is detected -> error message)
      • onFailedUpdate

        void onFailedUpdate​(@NotNull
                            Throwable t)
        Called if configs update fail, in case of config errors both this method and onConfigErrors(Map) are called
      • afterUpdate

        void afterUpdate()
        Called when update is complete
      • projectModelChanged

        void projectModelChanged​(@NotNull
                                 Map<ProjectEx,​Collection<UpdatedEntity>> changes)
        Called when project model was changed since the update started
        Parameters:
        changes - changes in project model