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

com.hlag.tools.commvis.analyzer.model.SnsProducer Maven / Gradle / Ivy

Go to download

Library containing the API to enhance the analyzer by user defined components.

There is a newer version: 2.9.80
Show newest version
package com.hlag.tools.commvis.analyzer.model;

import com.google.gson.annotations.SerializedName;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.Value;

/**
 * A producer for SNS messages.
 */
@Value
@RequiredArgsConstructor(access = AccessLevel.PACKAGE)
public class SnsProducer implements ISenderReceiverCommunication, IProducer {
    /**
     * the class name where the producer was found.
     */
    @SerializedName(value="class_name")
    String className;

    /**
     * the method name were the producer was found.
     */
    @SerializedName(value="method_name")
    String methodName;

    /**
     * the topic the messages are sent to.
     */
    @SerializedName(value="topic_name")
    String topicName;

    /**
     * The project id of the referenced project.
     */
    @SerializedName(value="destination_project_id")
    String destinationProjectId;

    /**
     * internal id of this node
     */
    @SerializedName(value="id")
    String id;

    @Override
    public void visit(AbstractCommunicationModelVisitor visitor) {
        visitor.visit(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy