|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Predicate
A boolean expression.
Method Summary | |
---|---|
boolean |
isMatchable(Map<String,Class<?>> arguments)
Try to match the predicate with arguments, without evaluating the predicates but to check that no runtime exception is thrown at runtime. |
boolean |
matches(TimeStamp timeStamp,
Map<String,?> arguments)
Try to match the predicate according to time and arguments. |
Methods inherited from interface org.openpermis.policy.Part |
---|
equals, hashCode, toString |
Method Detail |
---|
boolean matches(TimeStamp timeStamp, Map<String,?> arguments)
timeStamp
- the current TimeStamp
.arguments
- a Map
of arguments.
IllegalStateException
- if the predicate is not valid.boolean isMatchable(Map<String,Class<?>> arguments)
arguments
- a Map
of arguments.
true
if this predicate is matchable and won't throw an exception at
runtime.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG