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

com.bazaarvoice.emodb.databus.api.ReplaySubscriptionStatus Maven / Gradle / Ivy

There is a newer version: 6.5.190
Show newest version
package com.bazaarvoice.emodb.databus.api;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class ReplaySubscriptionStatus {
    private final String _subscription;
    private final Status _status;

    public enum Status {
        IN_PROGRESS,
        COMPLETE,
        ERROR
    }

    @JsonCreator
    public ReplaySubscriptionStatus(@JsonProperty ("subscription") String subscription,
                                    @JsonProperty ("status") Status status) {
        _subscription = subscription;
        _status = status;
    }

    public String getSubscription() {
        return _subscription;
    }

    public Status getStatus() {
        return _status;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy