Interface ConfigUpdateCallback
-
- All Known Implementing Classes:
ConfigUpdateCallbackAdapter
public interface ConfigUpdateCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterUpdate()Called when update is completevoidbeforeUpdate()Called before update is invokedvoidonConfigErrors(Map<File,String> configErrors)Called when new config errors were detected after settings updatevoidonFailedUpdate(Throwable t)Called if configs update fail, in case of config errors both this method andonConfigErrors(Map)are calledvoidonSuccessfulUpdate(Set<String> updatedProjectExtIds)Called when project settings were successfully updatedvoidprojectModelChanged(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
-
-