be.looorent.ponto.synchronization.SynchronizationStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ponto-client Show documentation
Show all versions of ponto-client Show documentation
Client library for Ponto (https://myponto.com)
The newest version!
package be.looorent.ponto.synchronization;
import com.fasterxml.jackson.annotation.JsonProperty;
public enum SynchronizationStatus {
@JsonProperty("pending")
PENDING(false),
@JsonProperty("running")
RUNNING(false),
@JsonProperty("success")
SUCCESS(true),
@JsonProperty("error")
ERROR(true);
private final boolean complete;
SynchronizationStatus(boolean complete) {
this.complete = complete;
}
public boolean isComplete() {
return complete;
}
}