Apply the following stereotypes to the state attribute, as shown in Figure 20.
向state属性应用以下构造型,如图20所示。
When triggered, the REST call to capture an instance returns success via a HTTP 202 response code. It also changes the state attribute of the instance to "capturing."
触发后,用于捕获实例的REST调用通过一个HTTP 202响应码返回成功消息,并将实例的状态属性更改为 “capturing”。
The method can control the complexity of state within the linear scope related with state attribute, and it can find the faults and mistakes related with state earlier.
该方法可以把状态的复杂度控制在和状态属性相关的线性级别,可以尽早发现与状态相关的错误。
The method can control the complexity of state within the linear scope related with state attribute, and it can find the faults and mistakes related with state earlier.
该方法可以把状态的复杂度控制在和状态属性相关的线性级别,可以尽早发现与状态相关的错误。
应用推荐