All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.springwolf.plugins.cloudstream.asyncapi.scanners.common.FunctionalChannelBeanData Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
// 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