package gr.cite.annotation.integrationevent.inbox; import org.springframework.boot.context.properties.ConfigurationProperties; import java.util.List; @ConfigurationProperties(prefix = "queue.task.listener.options") public class InboxProperties { private final String exchange; private final List tenantRemovalTopic; private final List tenantTouchTopic; private final List userRemovalTopic; private final List userTouchTopic; private final List annotationEntitiesTouchTopic; private final List annotationEntitiesRemovalTopic; public InboxProperties( String exchange, List tenantRemovalTopic, List tenantTouchTopic, List userRemovalTopic, List userTouchTopic, List annotationEntitiesTouchTopic, List annotationEntitiesRemovalTopic) { this.exchange = exchange; this.tenantRemovalTopic = tenantRemovalTopic; this.tenantTouchTopic = tenantTouchTopic; this.userRemovalTopic = userRemovalTopic; this.userTouchTopic = userTouchTopic; this.annotationEntitiesTouchTopic = annotationEntitiesTouchTopic; this.annotationEntitiesRemovalTopic = annotationEntitiesRemovalTopic; } public List getTenantRemovalTopic() { return tenantRemovalTopic; } public List getTenantTouchTopic() { return tenantTouchTopic; } public List getUserRemovalTopic() { return userRemovalTopic; } public List getUserTouchTopic() { return userTouchTopic; } public List getAnnotationEntitiesTouchTopic() { return annotationEntitiesTouchTopic; } public List getAnnotationEntitiesRemovalTopic() { return annotationEntitiesRemovalTopic; } public String getExchange() { return exchange; } }