public abstract class RealtimePermission
extends java.security.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(java.lang.String actions)
Creates a new
RealtimePermission object for a given set of actions,
i.e., the symbolic names of actions. |
protected |
RealtimePermission(java.lang.String target,
java.lang.String actions)
Creates a new
RealtimePermission object for a given set of actions,
i.e., the symbolic names of actions. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Compare two Permission objects for equality.
|
java.lang.String |
getActions()
Obtain the actions as a String in canonical form.
|
int |
hashCode()
Obtain the hash code value for this object.
|
boolean |
implies(java.security.Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
protected RealtimePermission(java.lang.String actions)
RealtimePermission
object for a given set of actions,
i.e., the symbolic names of actions. The target
string
specifies additional limitations on the actions.actions
- The names of the actions to allow, or *
for all actions.java.lang.NullPointerException
- when actions
is null
.StaticIllegalArgumentException
- when actions
is empty.protected RealtimePermission(java.lang.String target, java.lang.String actions)
RealtimePermission
object for a given set of actions,
i.e., the symbolic names of actions. The target
string
specifies additional limitations on the actions.target
- Specifies the domain for the actions, or *
for no limit on the permission.actions
- The names of the actions to allow, or *
for all actions.java.lang.NullPointerException
- when actions
is null
.StaticIllegalArgumentException
- when target
or
actions
is empty.public boolean equals(java.lang.Object other)
equals
in class java.security.Permission
other
- is the object with which to compare.true
when yes and false
otherwise.public java.lang.String getActions()
getActions
in class java.security.Permission
public int hashCode()
hashCode
in class java.security.Permission
public boolean implies(java.security.Permission permission)
implies
in class java.security.Permission
permission
- is the permission to check.true
when yes and false
otherwise.