Insight Cstatus add success helper
This commit is contained in:
parent
cbe827ac07
commit
c019b4c533
1 changed files with 6 additions and 1 deletions
|
@ -11,5 +11,10 @@ enum Cstatus {
|
|||
PENDING,
|
||||
SUCCESS,
|
||||
FAILURE,
|
||||
TIMEOUT
|
||||
TIMEOUT;
|
||||
|
||||
boolean success() {
|
||||
return this == SUCCESS;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue