aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/pinapelz/vtuber/Status.java
blob: 4b356357ac5ddd4648ccd7a859ab273f3f10d88e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.pinapelz.vtuber;

/**
 * <p>Status class.</p>
 *
 * @author pinapelz
 * @version $Id: $Id
 */
public enum Status {
    LIVE("live"),
    UPCOMING("upcoming"),
    PAST("past"),
    MISSING("missing"),
    ALL("all");

    private final String value;

    Status(String value) {
        this.value = value;
    }

    /** {@inheritDoc} */
    @Override
    public String toString() {
        return value;
    }

    public boolean isStatus(String status) {
        return this.value.equals(status);
    }

}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage