com.gigaspaces.security.authorities
Class SpaceAuthority.NegateRegexFilter
java.lang.Object
com.gigaspaces.security.authorities.SpaceAuthority.RegexFilter
com.gigaspaces.security.authorities.SpaceAuthority.NegateRegexFilter
- All Implemented Interfaces:
- SpaceAuthority.Filter, SpaceAuthority.NegateFilter, Serializable
- Enclosing class:
- SpaceAuthority
public static final class SpaceAuthority.NegateRegexFilter
- extends SpaceAuthority.RegexFilter
- implements SpaceAuthority.NegateFilter
Negate a regular expression filter.
- See Also:
- Serialized Form
Method Summary |
boolean |
accept(String otherRegex)
Tests whether or not the string is acceptable. |
SpaceAuthority.NegateRegexFilter
public SpaceAuthority.NegateRegexFilter(String regex)
accept
public boolean accept(String otherRegex)
- Description copied from interface:
SpaceAuthority.Filter
- Tests whether or not the string is acceptable.
- Specified by:
accept
in interface SpaceAuthority.Filter
- Overrides:
accept
in class SpaceAuthority.RegexFilter
- Parameters:
otherRegex
- a string as used to construct the filter.
- Returns:
true
if and only if the filter accepts the the given string;
false
otherwise.
Copyright © GigaSpaces.