Package org.apache.ignite.internal
Class SecurityAwarePredicate<E>
- java.lang.Object
-
- org.apache.ignite.internal.processors.security.AbstractSecurityAwareExternalizable<IgnitePredicate<E>>
-
- org.apache.ignite.internal.SecurityAwarePredicate<E>
-
- All Implemented Interfaces:
Externalizable
,Serializable
,GridInternalWrapper<IgnitePredicate<E>>
,IgnitePredicate<E>
public class SecurityAwarePredicate<E> extends AbstractSecurityAwareExternalizable<IgnitePredicate<E>> implements IgnitePredicate<E>
Security aware IgnitePredicate.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.security.AbstractSecurityAwareExternalizable
ignite, original, subjectId
-
-
Constructor Summary
Constructors Constructor Description SecurityAwarePredicate()
Default constructor.SecurityAwarePredicate(UUID subjectId, IgnitePredicate<E> original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(E evt)
Predicate body.-
Methods inherited from class org.apache.ignite.internal.processors.security.AbstractSecurityAwareExternalizable
logAccessDeniedMessage, readExternal, userObject, writeExternal
-
-
-
-
Constructor Detail
-
SecurityAwarePredicate
public SecurityAwarePredicate()
Default constructor.
-
SecurityAwarePredicate
public SecurityAwarePredicate(UUID subjectId, IgnitePredicate<E> original)
- Parameters:
subjectId
- Security subject id.original
- Original predicate.
-
-
Method Detail
-
apply
public boolean apply(E evt)
Predicate body.- Specified by:
apply
in interfaceIgnitePredicate<E>
- Parameters:
evt
- Predicate parameter.- Returns:
- Return value.
-
-