public class RoleUnresolved extends Object implements Serializable
The serialVersionUID of this class is -48350262537070138L.
| Constructor | Description |
|---|---|
RoleUnresolved (String name,
List<ObjectName> value,
int pbType) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Object |
clone () |
Clone this object.
|
int |
getProblemType () |
Retrieves problem type.
|
String |
getRoleName () |
Retrieves role name.
|
List<ObjectName> |
getRoleValue () |
Retrieves role value.
|
void |
setProblemType (int pbType) |
Sets problem type.
|
void |
setRoleName (String name) |
Sets role name.
|
void |
setRoleValue (List<ObjectName> value) |
Sets role value.
|
String |
toString () |
Return a string describing this object.
|
public RoleUnresolved(String name, List<ObjectName> value, int pbType) throws IllegalArgumentException
name - name of the rolevalue - value of the role (if problem when setting the
role)pbType - type of problem (according to known problem types,
listed as static final members).IllegalArgumentException - if null parameter or incorrect
problem typepublic String getRoleName()
setRoleName(java.lang.String) public List<ObjectName> getRoleValue()
setRoleValue(java.util.List<javax.management.ObjectName>) public int getProblemType()
setProblemType(int) public void setRoleName(String name) throws IllegalArgumentException
name - the new role name.IllegalArgumentException - if null parametergetRoleName() public void setRoleValue(List<ObjectName> value)
value - List of ObjectName objects for referenced
MBeans not set in role.getRoleValue() public void setProblemType(int pbType) throws IllegalArgumentException
pbType - integer corresponding to a problem. Must be one of
those described as static final members of current class.IllegalArgumentException - if incorrect problem typegetProblemType() public Object clone()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.