public abstract class MatchingPart extends java.lang.Object implements Implier
MatchingPermission.| Constructor and Description |
|---|
MatchingPart() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
actionImpliedBy(MatchingPart actionMatcher,
java.util.List<MatchingPart> leadingParts) |
static boolean |
contextImpliedBy(MatchingPart contextMatcher,
java.util.List<MatchingPart> leadingParts) |
static MatchingPart |
getAction(java.util.List<MatchingPart> leadingParts) |
static MatchingPart |
getContext(java.util.List<MatchingPart> leadingParts) |
protected abstract boolean |
impliedBy(Implier implier,
java.util.List<MatchingPart> leadingParts) |
boolean |
implies(MatchingPart part,
java.util.List<MatchingPart> leadingParts) |
boolean |
impliesAny()
Returns true if the instance should permit any possible value.
|
boolean |
impliesConstant(ConstantPart part,
java.util.List<MatchingPart> leadingParts)
Returns true if this instance should permit the provided constant.
|
abstract boolean |
isAssignable()
Returns true if this part can be included in a permission that is assigned to a user or role.
|
protected abstract boolean impliedBy(Implier implier, java.util.List<MatchingPart> leadingParts)
public abstract boolean isAssignable()
public boolean implies(MatchingPart part, java.util.List<MatchingPart> leadingParts)
public boolean impliesConstant(ConstantPart part, java.util.List<MatchingPart> leadingParts)
ImplierimpliesConstant in interface Implierpublic boolean impliesAny()
ImplierimpliesAny in interface Implierpublic static MatchingPart getContext(java.util.List<MatchingPart> leadingParts)
public static MatchingPart getAction(java.util.List<MatchingPart> leadingParts)
public static boolean contextImpliedBy(MatchingPart contextMatcher, java.util.List<MatchingPart> leadingParts)
public static boolean actionImpliedBy(MatchingPart actionMatcher, java.util.List<MatchingPart> leadingParts)
Copyright © 2018. All Rights Reserved.