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 interface
Simple callback with the id of an existing repository with the possibility to throw exceptions. -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachRepository
(Consumer<String> repositoryIdConsumer) Calls the given consumer with each repository id.default void
Equivalent 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
-