|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 theRoleName,
java.util.List theRoleValue,
int thePbType)
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 thePbType)
Sets problem type |
void |
setRoleName(java.lang.String theRoleName)
Sets role name |
void |
setRoleValue(java.util.List theRoleValue)
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 theRoleName, java.util.List theRoleValue, int thePbType) throws java.lang.IllegalArgumentException
theRoleName
- name of the roletheRoleValue
- value of the role (if problem when setting the role)thePbType
- type of problem (according to known problem types, listed
as static final members).Method Detail |
public java.lang.Object clone()
public int getProblemType()
public java.lang.String getRoleName()
public java.util.List getRoleValue()
public void setProblemType(int thePbType) throws java.lang.IllegalArgumentException
thePbType
- integer corresponding to a problem. Must be one of those
described as static final members of current class.public void setRoleName(java.lang.String theRoleName) throws java.lang.IllegalArgumentException
public void setRoleValue(java.util.List theRoleValue)
theRoleValue
- ArrayList of ObjectName objects for referenced MBeans
not set in role.public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |