public class RoleStatus extends Object
Modifier and Type | Field | Description |
---|---|---|
static final int |
LESS_THAN_MIN_ROLE_DEGREE |
Problem type when trying to set a role value with less ObjectNames than the minimum expected cardinality. |
static final int |
MORE_THAN_MAX_ROLE_DEGREE |
Problem type when trying to set a role value with more ObjectNames than the maximum expected cardinality. |
static final int |
NO_ROLE_WITH_NAME |
Problem type when trying to access an unknown role. |
static final int |
REF_MBEAN_NOT_REGISTERED |
Problem type when trying to set a role value including the ObjectName of a MBean not registered in the MBean Server. |
static final int |
REF_MBEAN_OF_INCORRECT_CLASS |
Problem type when trying to set a role value including the ObjectName of a MBean not of the class expected for that role. |
static final int |
ROLE_NOT_READABLE |
Problem type when trying to read a non-readable attribute. |
static final int |
ROLE_NOT_WRITABLE |
Problem type when trying to update a non-writable attribute. |
Constructor | Description |
---|---|
RoleStatus() |
Deprecated, for removal: This API element is subject to removal in a future version. |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isRoleStatus |
Returns true if given value corresponds to a known role status, false otherwise. |
public static final int NO_ROLE_WITH_NAME
public static final int ROLE_NOT_READABLE
public static final int ROLE_NOT_WRITABLE
public static final int LESS_THAN_MIN_ROLE_DEGREE
public static final int MORE_THAN_MAX_ROLE_DEGREE
public static final int REF_MBEAN_OF_INCORRECT_CLASS
public static final int REF_MBEAN_NOT_REGISTERED
@Deprecated(since="16", forRemoval=true) public RoleStatus()
public static boolean isRoleStatus(int status)
status
- a status code.
© 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/RoleStatus.html