com.bimface.sdk.constants.CallbackStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bimface-java-sdk Show documentation
Show all versions of bimface-java-sdk Show documentation
Bimface provide the required call java sdk.
The newest version!
package com.bimface.sdk.constants;
/**
* 枚举:回调状态
*
* @author bimface, 2016-06-01.
*/
public enum CallbackStatus {
/**
* 成功
*/
SUCCESS("success"),
/**
* 失败
*/
FAILED("failed");
private String value;
private CallbackStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
public static CallbackStatus parse(String value) {
for (CallbackStatus e : CallbackStatus.values()) {
if (e.value.equals(value)) {
return e;
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy