Skip to content

Commit 835310b

Browse files
committed
docs: javadoc
1 parent 39684d5 commit 835310b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/EventSourceInitializer.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ public interface EventSourceInitializer<P extends HasMetadata> {
2323
*/
2424
Map<String, EventSource> prepareEventSources(EventSourceContext<P> context);
2525

26+
/**
27+
* Utility method to easily create map with default names of event sources.
28+
*
29+
* @param eventSources to name
30+
* @return even source with default names
31+
*/
2632
static Map<String, EventSource> defaultNamedEventSources(EventSource... eventSources) {
2733
Map<String, EventSource> eventSourceMap = new HashMap<>(eventSources.length);
2834
for (EventSource eventSource : eventSources) {

0 commit comments

Comments
 (0)