public abstract class RealtimePermission extends Permission
| Risk Class | Description |
|---|---|
| CPU Assignment Risk | Interferes with critical tasks by assigning too many other tasks to the same CPU. |
| Encapsulation Risk | Could break out of encapsulation. |
| External Risk | Could adversely effect other processes on the system. |
| Interference Risk | Could interfere with the function of other parts of the system. |
| Load Risk | Could increase the load on the system. |
| Lost Events Risk | Another task could no longer receive the expected events. |
| Memory Leak Risk | Could cause memory to be lost to the system. |
| Scheduling Risk | Interferes with the timeliness of other parts of the system. |
| Device Range Risk | Could specify memory outside the desired Device range. |
| Device Map Risk | Could map too much or too little Device memory. |
| DMA Range Risk | Could specify memory outside the desired DMA range. |
| DMA Map Risk | Could map too much or too little DMA memory for DMA. |
| Physical Range Risk | Could specify memory outside the desired Physical range. |
| Physical Map Risk | Could take too much memory. |
| Modifier | Constructor and Description |
|---|---|
protected |
RealtimePermission(String actions)
Creates a new
RealtimePermission object for a given action,
i.e., the symbolic name of an action. |
protected |
RealtimePermission(String name,
String actions)
Creates a new
RealtimePermission 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.
|
String |
getActions()
Obtain the actions as a String in canonical form.
|
int |
hashCode()
Obtain the hash code value for this object.
|
boolean |
implies(Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
checkGuard, getName, newPermissionCollection, toStringprotected RealtimePermission(String name, String actions)
RealtimePermission object for a given action,
i.e., the symbolic name of an action. The name string
specifies additional limitations on the action.NullPointerException - when actions is null.StaticIllegalArgumentException - when name or
actions is empty.name - Specifies the domain for the action, or *
for no limit on the permission.actions - The names of the actions to allow, or *
for all actions.protected RealtimePermission(String actions)
RealtimePermission object for a given action,
i.e., the symbolic name of an action.NullPointerException - when actions is null.StaticIllegalArgumentException - when actions is empty.actions - The names of the actions to allow, or *
for all actions.public boolean equals(Object other)
equals in class Permissionother - is the object with which to compare.true when yes and false otherwise.Object.hashCode(),
HashMappublic String getActions()
getActions in class Permissionpublic int hashCode()
hashCode in class PermissionObject.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)public boolean implies(Permission permission)
implies in class Permissionpermission - is the permission to check.true when yes and false otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.