Interface ConfigUpdateCallback
-
- All Known Implementing Classes:
ConfigUpdateCallbackAdapter
public interface ConfigUpdateCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterUpdate()
Called when update is completevoid
beforeUpdate()
Called before update is invokedvoid
onConfigErrors(Map<File,String> configErrors)
Called when new config errors were detected after settings updatevoid
onFailedUpdate(Throwable t)
Called if configs update fail, in case of config errors both this method andonConfigErrors(Map)
are calledvoid
onSuccessfulUpdate(Set<String> updatedProjectExtIds)
Called when project settings were successfully updatedvoid
projectModelChanged(Map<ProjectEx,Collection<UpdatedEntity>> changes)
Called when project model was changed since the update started
-
-
-
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 andonConfigErrors(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
-
-