|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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(java.lang.String roleName,
java.util.List roleValue,
int problemType)
Construct a new unresolved role. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones the object. |
int |
getProblemType()
Retrieve the problem type. |
java.lang.String |
getRoleName()
Retrieve the role name. |
java.util.List |
getRoleValue()
Retrieve the role value. |
void |
setProblemType(int problemType)
Set the problem type. |
void |
setRoleName(java.lang.String roleName)
Set the role name. |
void |
setRoleValue(java.util.List roleValue)
Set the role value it must be an ArrayList. |
java.lang.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(java.lang.String roleName,
java.util.List roleValue,
int problemType)
throws java.lang.IllegalArgumentException
See RoleStatus (src) 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.
java.lang.IllegalArgumentException - for null values or
incorrect problem type.| Method Detail |
public int getProblemType()
public java.lang.String getRoleName()
public java.util.List getRoleValue()
public void setProblemType(int problemType)
throws java.lang.IllegalArgumentException
problemType - the problem type.
java.lang.IllegalArgumentException - for an invalid problem type
public void setRoleName(java.lang.String roleName)
throws java.lang.IllegalArgumentException
roleName - the role name.
java.lang.IllegalArgumentException - for a null namepublic void setRoleValue(java.util.List roleValue)
roleValue - the role value.public java.lang.Object clone()
public java.lang.String toString()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||