|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PermissionHeuristic.PermissionHeuristicType>
edu.internet2.middleware.grouper.permissions.PermissionHeuristic.PermissionHeuristicType
public static enum PermissionHeuristic.PermissionHeuristicType
which type of heuristic (not including depth)
| Enum Constant Summary | |
|---|---|
action
(58) action depth 1 (56) action depth 2 (54) action depth 3 (2) action depth 29 |
|
allow
(1) allow |
|
assignedToUserNotGroup
(7200) assignment to user as opposed to group |
|
personRole
(864000) person/role assignment |
|
resource
(3600) direct resource assignment (120*30) (120) indirect direct resource assignment depth 29 |
|
role
(432000) direct role assignment (14400 * 30) (14400) role assignment with role depth 29 |
|
| Method Summary | |
|---|---|
abstract long |
maxScore()
max score if this is assigned with 0 depth (if applicable) and nothing else) |
abstract long |
minScore()
min score if this is assigned with 29 depth (if applicable) and nothing else, assuming 30 is max depth |
static PermissionHeuristic.PermissionHeuristicType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PermissionHeuristic.PermissionHeuristicType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 PermissionHeuristic.PermissionHeuristicType personRole
public static final PermissionHeuristic.PermissionHeuristicType role
public static final PermissionHeuristic.PermissionHeuristicType assignedToUserNotGroup
public static final PermissionHeuristic.PermissionHeuristicType resource
public static final PermissionHeuristic.PermissionHeuristicType action
public static final PermissionHeuristic.PermissionHeuristicType allow
| Method Detail |
|---|
public static PermissionHeuristic.PermissionHeuristicType[] values()
for (PermissionHeuristic.PermissionHeuristicType c : PermissionHeuristic.PermissionHeuristicType.values()) System.out.println(c);
public static PermissionHeuristic.PermissionHeuristicType 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 nullpublic abstract long maxScore()
public abstract long minScore()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||