public abstract class MatchingPart extends Object implements Implier
MatchingPermission.| Constructor and Description |
|---|
MatchingPart() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
actionImpliedBy(MatchingPart actionMatcher,
List<MatchingPart> leadingParts) |
static boolean |
contextImpliedBy(MatchingPart contextMatcher,
List<MatchingPart> leadingParts) |
static MatchingPart |
getAction(List<MatchingPart> leadingParts) |
static MatchingPart |
getContext(List<MatchingPart> leadingParts) |
protected abstract boolean |
impliedBy(Implier implier,
List<MatchingPart> leadingParts) |
boolean |
implies(MatchingPart part,
List<MatchingPart> leadingParts) |
boolean |
impliesAny()
Returns true if the instance should permit any possible value.
|
boolean |
impliesConstant(ConstantPart part,
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, List<MatchingPart> leadingParts)
public abstract boolean isAssignable()
public boolean implies(MatchingPart part, List<MatchingPart> leadingParts)
public boolean impliesConstant(ConstantPart part, List<MatchingPart> leadingParts)
ImplierimpliesConstant in interface Implierpublic boolean impliesAny()
ImplierimpliesAny in interface Implierpublic static MatchingPart getContext(List<MatchingPart> leadingParts)
public static MatchingPart getAction(List<MatchingPart> leadingParts)
public static boolean contextImpliedBy(MatchingPart contextMatcher, List<MatchingPart> leadingParts)
public static boolean actionImpliedBy(MatchingPart actionMatcher, List<MatchingPart> leadingParts)
Copyright © 2017. All Rights Reserved.