Package sonia.scm.update
Interface NamespaceUpdateIterator
public interface NamespaceUpdateIterator
Implementations of this interface can be used to iterate all namespaces in update steps.
- Since:
- 2.47.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSimple callback with the name of an existing namespace with the possibility to throw exceptions. -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachNamespace(Consumer<String> namespace) Calls the given consumer with each namespace.default voidEquivalent toforEachNamespace(Consumer)with the difference, that you can throw exceptions in the given update code, that will then be wrapped in aUpdateException.
-
Method Details
-
forEachNamespace
Calls the given consumer with each namespace.- Since:
- 2.47.0
-
updateEachNamespace
Equivalent toforEachNamespace(Consumer)with the difference, that you can throw exceptions in the given update code, that will then be wrapped in aUpdateException.- Since:
- 2.47.0
-