| 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).
|
RoleUnresolved | public RoleUnresolved(String theRoleName, List theRoleValue, int thePbType) throws IllegalArgumentException(Code) | | Constructor to create RoleUnresolved
Parameters: theRoleName - - name of the role Parameters: theRoleValue - - value of the role (if problem when setting the role) Parameters: thePbType - - type of problem (according to known problem types,listed as static final members). exception: java.lang.IllegalArgumentException - - if null parameteror incorrect problem type |
clone | public Object clone()(Code) | | Clone. To create a duplicate copy of the current object (i.e) RoleUnresolved
Overrides:
clone in class java.lang.Object
an independent clone |
getProblemType | public int getProblemType()(Code) | | Retrieves problem type
an integer corresponding to a problem, those being describedas static final members of current class. |
getRoleName | public String getRoleName()(Code) | | Retrieves role name
Name of the role |
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 returnedfor a read access. |
setProblemType | public void setProblemType(int thePbType) throws IllegalArgumentException(Code) | | Sets problem type
Parameters: thePbType - - integer corresponding to a problem. Must be one ofthose described as static final members of current class. exception: java.lang.IllegalArgumentException - - if incorrect problem type |
setRoleValue | public void setRoleValue(List theRoleValue)(Code) | | Sets role value
Parameters: theRoleValue - - ArrayList of ObjectName objects for referencedMBeans not set in role. |
toString | public String toString()(Code) | | Prints a string describing the role
Overrides:
toString in class java.lang.Object
String representation of the role |
|
|