com.gigaspaces.security.authorities
Class SpaceAuthority.NegatePackageFilter
java.lang.Object
com.gigaspaces.security.authorities.SpaceAuthority.PackageFilter
com.gigaspaces.security.authorities.SpaceAuthority.NegatePackageFilter
- All Implemented Interfaces:
- SpaceAuthority.Filter<String>, SpaceAuthority.NegateFilter<String>, Serializable
- Enclosing class:
- SpaceAuthority
public static final class SpaceAuthority.NegatePackageFilter
- extends SpaceAuthority.PackageFilter
- implements SpaceAuthority.NegateFilter<String>
Package filter accepting only packages not of the defined package.
- See Also:
- Serialized Form
Method Summary |
boolean |
accept(String otherPackageName)
Tests whether or not the object is acceptable. |
SpaceAuthority.NegatePackageFilter
public SpaceAuthority.NegatePackageFilter(String packagename)
accept
public boolean accept(String otherPackageName)
- 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.PackageFilter
- Parameters:
otherPackageName
- an object to accept.
- Returns:
true
if and only if the filter accepts the the given string;
false
otherwise.
Copyright © GigaSpaces.