ru.dezhik.sms.sender.api.InvocationStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sms-sender Show documentation
Show all versions of sms-sender Show documentation
Library for sending SMS via sms.ru gateway
package ru.dezhik.sms.sender.api;
/**
* @author ilya.dezhin
*/
public enum InvocationStatus {
QUEUED(false),
RUNNING(false),
SUCCESS(false),
VALIDATION_ERROR(true),
NETWORK_ERROR(true),
RESPONSE_PARSING_ERROR(true),
ERROR(true),
;
final boolean abnormal;
InvocationStatus(boolean abnormal) {
this.abnormal = abnormal;
}
public boolean isAbnormal() {
return abnormal;
}
}