Insight Cstatus add success helper

This commit is contained in:
Jamorham 2018-01-28 22:04:21 +00:00
parent cbe827ac07
commit c019b4c533
No known key found for this signature in database
GPG key ID: 0BC5C3E0AAD64DF9

View file

@ -11,5 +11,10 @@ enum Cstatus {
PENDING,
SUCCESS,
FAILURE,
TIMEOUT
TIMEOUT;
boolean success() {
return this == SUCCESS;
}
}