Package Summary  Overview Summary

class:RoleUnresolved [NONE]

All Implemented Interfaces:
Serializable

public class RoleUnresolved
extends Object
implements Serializable
Represents an unresolved role: a role not retrieved from a relation due to a problem. It provides the role name, value (if problem when trying to set the role) and an integer defining the problem (constants defined in RoleStatus).

The serialVersionUID of this class is -48350262537070138L.

Since:
1.5
See Also:
Serialized Form

constructor:RoleUnresolved(java.lang.String,java.util.List,int) [NONE]

method:getRoleName() [NONE]

  • getRoleName

    public String getRoleName()
    Retrieves role name.
    Returns:
    the role name.
    See Also:
    setRoleName(java.lang.String)
  • method:getRoleValue() [NONE]

    getRoleValue

    public List<ObjectName> getRoleValue()
    Retrieves role value.
    Returns:
    an ArrayList of ObjectName objects, the one provided to be set in given role. Null if the unresolved role is returned for a read access.
    See Also:
    setRoleValue(java.util.List<javax.management.ObjectName>)

    method:getProblemType() [NONE]

    getProblemType

    public int getProblemType()
    Retrieves problem type.
    Returns:
    an integer corresponding to a problem, those being described as static final members of current class.
    See Also:
    setProblemType(int)

    method:setRoleName(java.lang.String) [NONE]

    setRoleName

    public void setRoleName?(String name) throws IllegalArgumentException
    Sets role name.
    Parameters:
    name - the new role name.
    Throws:
    IllegalArgumentException - if null parameter
    See Also:
    getRoleName()

    method:setRoleValue(java.util.List) [NONE]

    setRoleValue

    public void setRoleValue?(List<ObjectName> value)
    Sets role value.
    Parameters:
    value - List of ObjectName objects for referenced MBeans not set in role.
    See Also:
    getRoleValue()

    method:setProblemType(int) [NONE]

    setProblemType

    public void setProblemType?(int pbType) throws IllegalArgumentException
    Sets problem type.
    Parameters:
    pbType - integer corresponding to a problem. Must be one of those described as static final members of current class.
    Throws:
    IllegalArgumentException - if incorrect problem type
    See Also:
    getProblemType()

    method:clone() [NONE]

    clone

    public Object clone()
    Clone this object.
    Overrides:
    clone in class Object
    Returns:
    an independent clone.
    See Also:
    Cloneable

    method:toString() [NONE]

    toString

    public String toString()
    Return a string describing this object.
    Overrides:
    toString in class Object
    Returns:
    a description of this RoleUnresolved object.

    © 2020 Oracle Corporation and/or its affiliates