| java.lang.Object javax.management.relation.RoleUnresolved
RoleUnresolved | public class RoleUnresolved implements Serializable(Code) | | 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).
author: Young Yang |
RoleUnresolved | public RoleUnresolved(String roleName, List roleValue, int roleStatus) throws IllegalArgumentException(Code) | | Constructor
Parameters: roleName - name of the role Parameters: roleValue - value of the role (if problem when setting therole) Parameters: roleStatus - type of problem (according to known problem types,listed as static final members). exception: IllegalArgumentException - if null parameter or incorrectproblem type |
getProblemType | public int getProblemType()(Code) | | Retrieves problem type
an integer corresponding to a problem, those being described asstatic final members of current class. |
getRoleName | public String getRoleName()(Code) | | Retrieves role name
|
getRoleValue | public List getRoleValue()(Code) | | Retrieves role value
an ArrayList of ObjectName objects, the one provided to be setin given role. Null if the unresolved role is returned for a readaccess. |
setProblemType | public void setProblemType(int roleStatus) throws IllegalArgumentException(Code) | | Sets problem type
Parameters: roleStatus - integer corresponding to a problem. Must be one ofthose described as static final members of current class. exception: IllegalArgumentException - if incorrect problem type |
setRoleValue | public void setRoleValue(List roleValue)(Code) | | Sets role value
Parameters: roleValue - ArrayList of ObjectName objects for referencedMBeans not set in role. |
toString | public String toString()(Code) | | Prints a string describing the role
|
|
|