The serialVersionUID of this class is -279985518429862552L.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private List | |
| private static final ObjectStreamField[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | Role(String
role name roleName, List<ObjectName> role value (List of ObjectName objects) roleValue)Make a new Role object. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a Role that is an independent copy of the current Role object.Overrides java. Clone the role object. |
| public String | |
| public List | |
| private void | |
| public static String | Returns: A String consisting of the ObjectNames separated by newlines (\n).List of ObjectName objects roleValue)Returns a string for the given role value. |
| public void | |
| public void | setRoleValue(List<ObjectName>
List of ObjectName objects for referenced
MBeans. roleValue)Sets role value. |
| public String | Returns: the description of the role.Overrides java. Returns a string describing the role. |
| private void |
| name | back to summary |
|---|---|
| private String name | |
| objectNameList | back to summary |
|---|---|
| private List<ObjectName> objectNameList | |
| serialPersistentFields | back to summary |
|---|---|
private static final ObjectStreamField[] serialPersistentFields
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Role | back to summary |
|---|---|
| public Role(String roleName, List<ObjectName> roleValue) throws IllegalArgumentException Make a new Role object. No check is made that the ObjectNames in the role value exist in an MBean server. That check will be made when the role is set in a relation.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Clone the role object.
| |
| getRoleName | back to summary |
|---|---|
| public String getRoleName() Retrieves role name.
| |
| getRoleValue | back to summary |
|---|---|
| public List Retrieves role value.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Deserializes a | |
| roleValueToString | back to summary |
|---|---|
| public static String roleValueToString(List<ObjectName> roleValue) throws IllegalArgumentException Returns a string for the given role value.
| |
| setRoleName | back to summary |
|---|---|
| public void setRoleName(String roleName) throws IllegalArgumentException Sets role name.
| |
| setRoleValue | back to summary |
|---|---|
| public void setRoleValue(List<ObjectName> roleValue) throws IllegalArgumentException Sets role value.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string describing the role.
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException Serializes a | |