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

com.activitystream.aspects.TimedStatus Maven / Gradle / Ivy

Go to download

For a description please see https://github.com/activitystream/as-sdk-java

There is a newer version: 0.5.8
Show newest version
package com.activitystream.aspects;

public enum TimedStatus {
    VALID, DUE, SCHEDULE, PERIOD;

    @Override
    public String toString() {
        if (this == VALID) return "valid";
        if (this == DUE) return "due";
        if (this == SCHEDULE) return "schedule";
        if (this == PERIOD) return "period";
        throw new RuntimeException("unhandled action of timed action");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy