|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.management.relation.RoleUnresolved
Represents an unresolved role: a role not retrieved from a relation due to a problem. It provides the role name, value (if problem when trying to set the role) and an integer defining the problem (constants defined in RoleStatus).
| Constructor Summary | |
RoleUnresolved(java.lang.String roleName,
java.util.List roleValue,
int roleStatus)
Constructor |
|
| Method Summary | |
java.lang.Object |
clone()
Clone |
int |
getProblemType()
Retrieves problem type |
java.lang.String |
getRoleName()
Retrieves role name |
java.util.List |
getRoleValue()
Retrieves role value |
void |
setProblemType(int roleStatus)
Sets problem type |
void |
setRoleName(java.lang.String roleName)
Sets role name |
void |
setRoleValue(java.util.List roleValue)
Sets role value |
java.lang.String |
toString()
Prints a string describing the role |
| 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 roleStatus)
throws java.lang.IllegalArgumentException
roleName - name of the roleroleValue - value of the role (if problem when setting the
role)roleStatus - type of problem (according to known problem types,
listed as static final members).
java.lang.IllegalArgumentException - if null parameter or incorrect
problem type| Method Detail |
public java.lang.String getRoleName()
public java.util.List getRoleValue()
public int getProblemType()
public void setRoleName(java.lang.String roleName)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - if null parameterpublic void setRoleValue(java.util.List roleValue)
roleValue - ArrayList of ObjectName objects for referenced
MBeans not set in role.
public void setProblemType(int roleStatus)
throws java.lang.IllegalArgumentException
roleStatus - integer corresponding to a problem. Must be one of
those described as static final members of current class.
java.lang.IllegalArgumentException - if incorrect problem typepublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||