ca.gc.aafc.dina.messaging.message.ObjectExportNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dina-messaging Show documentation
Show all versions of dina-messaging Show documentation
Base DINA messaging classes based on RabbitMQ
package ca.gc.aafc.dina.messaging.message;
import ca.gc.aafc.dina.messaging.DinaMessage;
import java.util.UUID;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
@Builder
@Data
@Getter
public class ObjectExportNotification extends DinaMessage {
public static final String TYPE = "ObjectExportNotification";
public ObjectExportNotification() {
super(TYPE);
}
public ObjectExportNotification(UUID uuid, String username, String name, String toa) {
super(TYPE);
this.uuid = uuid;
this.username = username;
this.name = name;
this.toa = toa;
}
// uuid generated for the export
private UUID uuid;
private String username;
// name of the export (user provided)
private String name;
// temporary object access
private String toa;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy