com.hazelcast.security.permission

## Class ClusterPermissionCollection

- java.lang.Object
- - java.security.PermissionCollection
  - - com.hazelcast.security.permission.ClusterPermissionCollection

- All Implemented Interfaces:
    Serializable

      public class ClusterPermissionCollection
      extends PermissionCollection

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClusterPermissionCollection()`
    `ClusterPermissionCollection(Class<? extends Permission> permClass)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Permission permission)`
    `void` | `add(PermissionCollection permissions)`
    `void` | `compact()`
    `Enumeration<Permission>` | `elements()`
    `Set<Permission>` | `getPermissions()`
    `boolean` | `implies(Permission permission)`
    `String` | `toString()`

    - ### Methods inherited from class java.security.PermissionCollection

      `isReadOnly, setReadOnly`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ClusterPermissionCollection

          public ClusterPermissionCollection()

    - #### ClusterPermissionCollection

          public ClusterPermissionCollection(Class<? extends Permission> permClass)

  - ### Method Detail

    - #### add

          public void add(Permission permission)

      Specified by:
        `add` in class `PermissionCollection`

    - #### add

          public void add(PermissionCollection permissions)

    - #### implies

          public boolean implies(Permission permission)

      Specified by:
        `implies` in class `PermissionCollection`

    - #### compact

          public void compact()

    - #### elements

          public Enumeration<Permission> elements()

      Specified by:
        `elements` in class `PermissionCollection`

    - #### getPermissions

          public Set<Permission> getPermissions()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `PermissionCollection`

Copyright © 2020. All rights reserved.