|
XMOJO 5 API Docs | ||||||||
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 to create RoleUnresolved |
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 Overrides: toString in class java.lang.Object |
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).java.lang.IllegalArgumentException
- - if null parameter
or incorrect problem typeMethod Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
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.java.lang.IllegalArgumentException
- - if incorrect problem typepublic void setRoleName(java.lang.String theRoleName) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- - if null parameterpublic void setRoleValue(java.util.List theRoleValue)
theRoleValue
- - ArrayList of ObjectName objects for referenced
MBeans not set in role.public java.lang.String toString()
toString
in class java.lang.Object
|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |