public class State extends Object
| 构造器和说明 |
|---|
State(int index,
String description)
创建一个状态对象
|
State(int index,
String description,
Method handler)
创建一个状态对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDescription() |
String |
getExpectDescription() |
Method |
getHandler() |
int |
getId() |
void |
setDescription(String description) |
void |
setExpectDescription(String expectDescription) |
void |
setHandler(Method handler) |
void |
setId(int id) |
public State(int index,
String description)
index - 状态 iddescription - 状态描述public String getDescription()
public void setDescription(String description)
description - the description to setpublic String getExpectDescription()
public void setExpectDescription(String expectDescription)
expectDescription - the expectDescription to setpublic int getId()
public void setId(int id)
id - the id to setpublic Method getHandler()
public void setHandler(Method handler)
handler - the handler to setCopyright © 2013–2021 AJAXJS. All rights reserved.