Skip to content

Commit e453a38

Browse files
committed
docs: javadoc
1 parent fe9f9e7 commit e453a38

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
@@ -24,6 +24,12 @@ public interface EventSourceInitializer<P extends HasMetadata> {
2424
*/
2525
Map<String, EventSource> prepareEventSources(EventSourceContext<P> context);
2626

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

0 commit comments

Comments
 (0)