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

cdc.util.enums.DagEvent Maven / Gradle / Ivy

package cdc.util.enums;

public class DagEvent {
    private final ListType type;
    private final Object value;
    private final DagEventType eventType;

    public DagEvent(ListType type,
                    Object value,
                    DagEventType eventType) {
        this.type = type;
        this.value = value;
        this.eventType = eventType;
    }

    public ListType getType() {
        return type;
    }

    public Object getValue() {
        return value;
    }

    public DagEventType getEventType() {
        return eventType;
    }

    @Override
    public String toString() {
        return "[" + getType().getValueClass().getCanonicalName() + ", " + getEventType() + ", " + getValue() + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy