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. |
Pysical 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 target,
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 |
---|---|
abstract boolean |
equals(Object other)
Compare two Permission objects for equality.
|
abstract String |
getActions()
Obtain the actions as a String in canonical form.
|
abstract int |
hashCode()
Obtain the hash code value for this object.
|
abstract boolean |
implies(Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
checkGuard, getName, newPermissionCollection, toString
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.UnsupportedOperationException
- when called on non-supported subclass.actions
- The names of the actions to allow, or *
for all actions.protected RealtimePermission(String target, String actions)
RealtimePermission
object for a given action,
i.e., the symbolic name of an action. The target
string
specifies additional limitations on the action.NullPointerException
- when actions
is null
.StaticIllegalArgumentException
- when target
or actions
is empty.target
- 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.public abstract boolean equals(Object other)
equals
in class Permission
other
- is the object with which to compare.true
when yes and false
otherwise.Object.hashCode()
,
HashMap
public abstract String getActions()
getActions
in class Permission
public abstract int hashCode()
hashCode
in class Permission
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public abstract boolean implies(Permission permission)
implies
in class Permission
permission
- is the permission to check.true
when yes and false
otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2021 aicas GmbH. All Rights Reserved.