Package sonia.scm.update
Interface RepositoryUpdateIterator
public interface RepositoryUpdateIterator
Implementations of this interface can be used to iterate all repositories in update steps.
- Since:
- 2.13.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSimple callback with the id of an existing repository with the possibility to throw exceptions. -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRepository(Consumer<String> repositoryIdConsumer) Calls the given consumer with each repository id.default voidEquivalent toforEachRepository(Consumer)with the difference, that you can throw exceptions in the given update code, that will then be wrapped in aUpdateException.
-
Method Details
-
forEachRepository
Calls the given consumer with each repository id.- Since:
- 2.13.0
-
updateEachRepository
Equivalent toforEachRepository(Consumer)with the difference, that you can throw exceptions in the given update code, that will then be wrapped in aUpdateException.- Since:
- 2.14.0
-