public class HappeningPermission extends RealtimePermission
create, which takes no
arguments, either the permission is limited to the current
ThreadGroup by specifying the target group or it can
apply to all, either with no target or with the target *.
| Action Name | Description | Risks of grant |
|---|---|---|
| create | Enables new thread, timers, and tasks to be created. | Scheduling Risk |
| handle | Allows adding a handler to a Happening. | Load Risk |
| override | Enables handlers to be removed. | Interference Risk |
| system | Changes system's wide happening behavior. | Scheduling and Load Risk |
RealtimePermission.| Constructor and Description |
|---|
HappeningPermission(String actions)
Creates a new
HappeningPermission object for a given action,
i.e., the symbolic name of an action. |
HappeningPermission(String name,
String actions)
Creates a new
HappeningPermission object for a given action,
i.e., the symbolic name of an action. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Compare two Permission objects for equality.
|
boolean |
implies(Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
getActions, hashCodecheckGuard, getName, newPermissionCollection, toStringpublic HappeningPermission(String name, String actions)
HappeningPermission object for a given action,
i.e., the symbolic name of an action. The name string
specifies additional limitations on the action.NullPointerException - when action is null.StaticIllegalArgumentException - when target or action is empty.name - Specifies the domain for the action, or *
or null for no limit on the permission.actions - The names of the actions to allow, or *
for all actions.public HappeningPermission(String actions)
HappeningPermission object for a given action,
i.e., the symbolic name of an action.NullPointerException - when action is null.StaticIllegalArgumentException - when action is empty.actions - The names of the actions to allow, or *
for all actions.public boolean equals(Object other)
RealtimePermissionequals in class RealtimePermissionother - is the object with which to compare.true when yes and false otherwise.Object.hashCode(),
HashMappublic boolean implies(Permission permission)
RealtimePermissionimplies in class RealtimePermissionpermission - is the permission to check.true when yes and false otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2025 aicas GmbH. All Rights Reserved.