org.zodiac.actuate.health.AppNamedContributors Maven / Gradle / Ivy
package org.zodiac.actuate.health;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
public interface AppNamedContributors extends Iterable> {
/**
* Return the contributor with the given name.
*
* @param name
* the name of the contributor
* @return a contributor instance of {@code null}
*/
C getContributor(String name);
/**
* Return a stream of the {@link AppNamedContributors named contributors}.
*
* @return the stream of named contributors
*/
default Stream> stream() {
return StreamSupport.stream(spliterator(), false);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy