io.github.springwolf.plugins.cloudstream.asyncapi.scanners.common.FunctionalChannelBeanData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springwolf-cloud-stream Show documentation
Show all versions of springwolf-cloud-stream Show documentation
Automated JSON API documentation for Spring Boot cloud stream functions
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.plugins.cloudstream.asyncapi.scanners.common;
import java.lang.reflect.AnnotatedElement;
/**
* @param elementName The simple name of the element (Method or Class).
* @param annotatedElement The element (Method or Class) from which this instance has been processed.
* @param payloadType The payload type of the Channel this bean is bound to.
* @param beanType Consumer or Supplier.
* @param cloudStreamBinding The expected binding string of this bean.
*/
public record FunctionalChannelBeanData(
String elementName,
AnnotatedElement annotatedElement,
Class> payloadType,
BeanType beanType,
String cloudStreamBinding) {
public enum BeanType {
CONSUMER,
SUPPLIER
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy