Package Summary  Overview Summary

class:RoleStatus [NONE]


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

field:NO_ROLE_WITH_NAME [NONE]

  • NO_ROLE_WITH_NAME

    public static final  int NO_ROLE_WITH_NAME
    Problem type when trying to access an unknown role.
    See Also:
  • field:ROLE_NOT_READABLE [NONE]

    ROLE_NOT_READABLE

    public static final  int ROLE_NOT_READABLE
    Problem type when trying to read a non-readable attribute.
    See Also:

    field:ROLE_NOT_WRITABLE [NONE]

    ROLE_NOT_WRITABLE

    public static final  int ROLE_NOT_WRITABLE
    Problem type when trying to update a non-writable attribute.
    See Also:

    field:LESS_THAN_MIN_ROLE_DEGREE [NONE]

    LESS_THAN_MIN_ROLE_DEGREE

    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.
    See Also:

    field:MORE_THAN_MAX_ROLE_DEGREE [NONE]

    MORE_THAN_MAX_ROLE_DEGREE

    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.
    See Also:

    field:REF_MBEAN_OF_INCORRECT_CLASS [NONE]

    REF_MBEAN_OF_INCORRECT_CLASS

    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.
    See Also:

    field:REF_MBEAN_NOT_REGISTERED [NONE]

    REF_MBEAN_NOT_REGISTERED

    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.
    See Also:

    constructor:RoleStatus() [NONE]

    • RoleStatus

      @Deprecated(since="16", forRemoval=true) public RoleStatus()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Do not call.

    method:isRoleStatus(int) [NONE]

    • isRoleStatus

      public static  boolean isRoleStatus (int status)
      Returns true if given value corresponds to a known role status, false otherwise.
      Parameters:
      status - a status code.
      Returns:
      true if this value is a known role status.

    © 2023 Oracle Corporation and/or its affiliates