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

com.hlag.tools.commvis.analyzer.annotation.VisualizeSnsProducer Maven / Gradle / Ivy

package com.hlag.tools.commvis.analyzer.annotation;

import java.lang.annotation.*;

/**
 * Marks a producer for AWS SNS messages.
 */
@Repeatable(VisualizeSnsProducers.class)
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface VisualizeSnsProducer {
    /**
     * @return name of the SNS topic messages are sent to
     */
    String topicName();

    /**
     * @return the id of the project called, usually the Gitlab project id or similar
     */
    String projectId();

    /**
     * @return the name of the project called. Just for a better visibility in the code. The value isn't used.
     */
    String projectName() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy