/FileExtraction/Java_unseen/Piwigo_Piwigo-Android/app/src/main/java/org/piwigo/io/event/SnackProgressEvent.java
package org.piwigo.io.event;

public class SnackProgressEvent extends SimpleEvent
{
    private int snackbarType;
    private String snackbarDesc;
    private int snackbarId;
    private int snackbarDuration;
    private int snackbarProgressMax;
    private int snackbarProgress;
    private SnackbarUpdateAction action;

    public SnackProgressEvent()
    {
        super(null);
    }

    public void setSnackbarType(int snackbarType) {
        this.snackbarType = snackbarType;
    }

    public void setSnackbarDesc(String snackbarDesc) {
        this.snackbarDesc = snackbarDesc;
    }

    public void setSnackbarId(int snackbarId) {
        this.snackbarId = snackbarId;
    }

    public void setSnackbarDuration(int duration)
    {
        this.snackbarDuration = duration;
    }

    public void setSnackbarProgressMax(int snackbarProgressMax)
    {
        this.snackbarProgressMax = snackbarProgressMax;
    }

    public void setSnackbarProgress(int snackbarProgress)
    {
        this.snackbarProgress = snackbarProgress;
    }

    public void setAction(SnackbarUpdateAction action) {
        this.action = action;
    }

    public int getSnackbarType() {
        return (snackbarType);
    }

    public String getSnackbarDesc() {
        return (snackbarDesc);
    }

    public int getSnackbarId() {
        return (snackbarId);
    }

    public int getSnackbarDuration()
    {
        return (snackbarDuration);
    }

    public int getSnackbarProgressMax()
    {
        return (snackbarProgressMax);
    }

    public int getSnackbarProgress()
    {
        return (snackbarProgress);
    }

    public SnackbarUpdateAction getAction() {
        return (action);
    }

    public enum SnackbarUpdateAction {
        REFRESH, KILL;
    }
}
