|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.relation.RoleUnresolved
An unresolved role. Used when a role could not be retrieved from a relation due to a problem. It has the role name, the value if that was passed and the problem type.
Constructor Summary | |
RoleUnresolved(String roleName,
List roleValue,
int problemType)
Construct a new unresolved role. |
Method Summary | |
Object |
clone()
Clones the object. |
int |
getProblemType()
Retrieve the problem type. |
String |
getRoleName()
Retrieve the role name. |
List |
getRoleValue()
Retrieve the role value. |
void |
setProblemType(int problemType)
Set the problem type. |
void |
setRoleName(String roleName)
Set the role name. |
void |
setRoleValue(List roleValue)
Set the role value it must be an ArrayList. |
String |
toString()
Formats the unresolved role for output. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RoleUnresolved(String roleName, List roleValue, int problemType) throws IllegalArgumentException
See RoleStatus
for the problem types.
The passed list must be an ArrayList.
roleName
- the role nameroleValue
- the MBean object names in the role can be nullproblemType
- the problem type.
IllegalArgumentException
- for null values or
incorrect problem type.Method Detail |
public int getProblemType()
public String getRoleName()
public List getRoleValue()
public void setProblemType(int problemType) throws IllegalArgumentException
problemType
- the problem type.
IllegalArgumentException
- for an invalid problem typepublic void setRoleName(String roleName) throws IllegalArgumentException
roleName
- the role name.
IllegalArgumentException
- for a null namepublic void setRoleValue(List roleValue)
roleValue
- the role value.public Object clone()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |