|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Clearance>
things.thinger.kernel.Clearance
public enum Clearance
Clearance management. These define security levels used by the Kernel, Universes, and other services.
Version History
EPG - Initial - 13 FEB 06EPG - Break out from PCB - 15 DEC 06
Enum Constant Summary | |
---|---|
ELITE
|
|
EXCLUSIVE
|
|
EXTREME
|
|
FLOOR
Security level definition for a process is the CLEARANCE. |
|
OFFICIAL
|
|
PRIVATE
|
|
PRIVILEGED
|
|
PUBLIC
|
|
RESTRICTED
|
|
SECRET
|
|
SENSITIVE
|
|
TOP
|
|
TOPSECRET
|
|
UNCLASSIFIED
|
|
UNKNOWN
|
Method Summary | |
---|---|
boolean |
dontpass(Clearance thanThis)
Does this clearance not pass the given clearance? This is just the reverse logic of pass(Clearance). |
boolean |
pass(Clearance thanThis)
Does this clearance pass the given clearance? |
protected int |
value()
|
static Clearance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Clearance[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Clearance FLOOR
The following defines the named and numbered values for the levels.
name value
FLOOR 0
UNKNOWN 1000
UNCLASSIFIED 2000
PUBLIC 3000
PRIVATE 4000
OFFICIAL 4500
SENSITIVE 5000
SECRET 6000
PRIVILEGED 6500
TOPSECRET 7000
RESTRICTED 7500
EXCLUSIVE 8000
ELITE 8500
EXTREME 9000
TOP 10000
public static final Clearance UNKNOWN
public static final Clearance UNCLASSIFIED
public static final Clearance PUBLIC
public static final Clearance PRIVATE
public static final Clearance OFFICIAL
public static final Clearance SENSITIVE
public static final Clearance SECRET
public static final Clearance PRIVILEGED
public static final Clearance TOPSECRET
public static final Clearance RESTRICTED
public static final Clearance EXCLUSIVE
public static final Clearance ELITE
public static final Clearance EXTREME
public static final Clearance TOP
Method Detail |
---|
public static Clearance[] values()
for (Clearance c : Clearance.values()) System.out.println(c);
public static Clearance valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullprotected final int value()
public boolean pass(Clearance thanThis)
thanThis
- the given clearance.
public boolean dontpass(Clearance thanThis)
thanThis
- the given clearance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |