Package top.wcpe.beacon.agent.api
Enum Class DeclarationOutcome.Status
- All Implemented Interfaces:
Serializable,Comparable<DeclarationOutcome.Status>,Constable
- Enclosing class:
DeclarationOutcome
声明结论三档。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription已生效:控制面已刷新并回带生效值(DeclarationOutcome.applied()必有值)。声明被拒:请求体非法 / 超界等稳定事实,改正后重报(DeclarationOutcome.rejectReason()必有值)。通道不可用:尚未就绪 / 鉴权不过 / 实例不在册 / 连接失败,可退避后重报(无附加取值)。 -
Method Summary
Modifier and TypeMethodDescriptionstatic DeclarationOutcome.StatusReturns the enum constant of this class with the specified name.static DeclarationOutcome.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLIED
已生效:控制面已刷新并回带生效值(DeclarationOutcome.applied()必有值)。 -
REJECTED
声明被拒:请求体非法 / 超界等稳定事实,改正后重报(DeclarationOutcome.rejectReason()必有值)。 -
UNAVAILABLE
通道不可用:尚未就绪 / 鉴权不过 / 实例不在册 / 连接失败,可退避后重报(无附加取值)。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-