GigaSpaces XAP 9.7.2 API

com.gigaspaces.security.authorities
Class SpaceAuthority.NegateRegexFilter

java.lang.Object
  extended by com.gigaspaces.security.authorities.SpaceAuthority.RegexFilter
      extended by com.gigaspaces.security.authorities.SpaceAuthority.NegateRegexFilter
All Implemented Interfaces:
SpaceAuthority.Filter<String>, SpaceAuthority.NegateFilter<String>, Serializable
Enclosing class:
SpaceAuthority

public static final class SpaceAuthority.NegateRegexFilter
extends SpaceAuthority.RegexFilter
implements SpaceAuthority.NegateFilter<String>

Negate a regular expression filter.

See Also:
Serialized Form

Constructor Summary
SpaceAuthority.NegateRegexFilter(String regex)
           
 
Method Summary
 boolean accept(String otherRegex)
          Tests whether or not the object is acceptable.
 
Methods inherited from class com.gigaspaces.security.authorities.SpaceAuthority.RegexFilter
getExpression, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.gigaspaces.security.authorities.SpaceAuthority.Filter
getExpression
 

Constructor Detail

SpaceAuthority.NegateRegexFilter

public SpaceAuthority.NegateRegexFilter(String regex)
Method Detail

accept

public boolean accept(String otherRegex)
Description copied from interface: SpaceAuthority.Filter
Tests whether or not the object is acceptable.

Specified by:
accept in interface SpaceAuthority.Filter<String>
Overrides:
accept in class SpaceAuthority.RegexFilter
Parameters:
otherRegex - an object to accept.
Returns:
true if and only if the filter accepts the the given string; false otherwise.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.