APIdia Launch Partner
Top Description Fields Constructors Methods
javax.management.relation

public Class RoleStatus

extends Object
Class Inheritance

This class describes the various problems which can be encountered when accessing a role.
Since
1.5

Field Summary

Modifier and TypeField and Description
public 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.

public 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.

public static final int
NO_ROLE_WITH_NAME

Problem type when trying to access an unknown role.

public 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.

public 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.

public static final int
ROLE_NOT_READABLE

Problem type when trying to read a non-readable attribute.

public static final int
ROLE_NOT_WRITABLE

Problem type when trying to update a non-writable attribute.

Constructor Summary

AccessConstructor and Description
public
RoleStatus()
Deprecated for removal since 16.

Do not call.

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

true if this value is a known role status.
isRoleStatus
(int
a status code.
status
)

Returns true if given value corresponds to a known role status, false otherwise.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LESS_THAN_MIN_ROLE_DEGREEback to summary
public 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.

MORE_THAN_MAX_ROLE_DEGREEback to summary
public 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.

NO_ROLE_WITH_NAMEback to summary
public static final int NO_ROLE_WITH_NAME

Problem type when trying to access an unknown role.

REF_MBEAN_NOT_REGISTEREDback to summary
public 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.

REF_MBEAN_OF_INCORRECT_CLASSback to summary
public 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.

ROLE_NOT_READABLEback to summary
public static final int ROLE_NOT_READABLE

Problem type when trying to read a non-readable attribute.

ROLE_NOT_WRITABLEback to summary
public static final int ROLE_NOT_WRITABLE

Problem type when trying to update a non-writable attribute.

Constructor Detail

RoleStatusback to summary
public RoleStatus()

Deprecated

for removal since 16.

Do not call.

Annotations
@Deprecated
since:16
forRemoval:true

Method Detail

isRoleStatusback to summary
public static boolean isRoleStatus(int status)

Returns true if given value corresponds to a known role status, false otherwise.

Parameters
status:int

a status code.

Returns:boolean

true if this value is a known role status.