Serializable
public class RoleUnresolved extends Object implements Serializable
The serialVersionUID of this class is -48350262537070138L
.
Constructor | Description |
---|---|
RoleUnresolved |
Constructor. |
Modifier and Type | Method | Description |
---|---|---|
Object |
clone() |
Clone this object. |
int |
getProblemType() |
Retrieves problem type. |
String |
getRoleName() |
Retrieves role name. |
List |
getRoleValue() |
Retrieves role value. |
void |
setProblemType |
Sets problem type. |
void |
setRoleName |
Sets role name. |
void |
setRoleValue |
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()
public List<ObjectName> getRoleValue()
public int getProblemType()
public void setRoleName(String name) throws IllegalArgumentException
name
- the new role name.IllegalArgumentException
- if null parameterpublic void setRoleValue(List<ObjectName> value)
value
- List of ObjectName objects for referenced MBeans not set in role.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 typepublic Object clone()
public String toString()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.management/javax/management/relation/RoleUnresolved.html