public class RoleResult extends Object implements Serializable
这个类的serialVersionUID的是-6304063118040985512L
。
Constructor and Description |
---|
RoleResult(RoleList list, RoleUnresolvedList unresolvedList)
构造函数
|
Modifier and Type | Method and Description |
---|---|
RoleList |
getRoles()
检索已成功访问的角色列表。
|
RoleUnresolvedList |
getRolesUnresolved()
检索未成功访问的角色列表。
|
void |
setRoles(RoleList list)
设置成功访问的角色列表。
|
void |
setRolesUnresolved(RoleUnresolvedList unresolvedList)
设置未成功访问的角色列表。
|
public RoleResult(RoleList list, RoleUnresolvedList unresolvedList)
list
- 成功访问的角色列表。
unresolvedList
- 未访问的角色列表(带有问题描述)。
public RoleList getRoles()
setRoles(javax.management.relation.RoleList)
public RoleUnresolvedList getRolesUnresolved()
setRolesUnresolved(javax.management.relation.RoleUnresolvedList)
public void setRoles(RoleList list)
list
- 成功访问的角色列表
getRoles()
public void setRolesUnresolved(RoleUnresolvedList unresolvedList)
unresolvedList
- 角色未成功访问的列表
getRolesUnresolved()