org.snapscript.common.store.RemoteStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.common.store;
public enum RemoteStatus {
SUCCESS,
NOT_FOUND,
ERROR;
public boolean isNotFound(){
return this == NOT_FOUND;
}
public boolean isSuccess() {
return this == SUCCESS;
}
public boolean isError(){
return this == ERROR;
}
}