com.gigaspaces.security.authorities
Class SpaceAuthority.ClassFilter
java.lang.Object
com.gigaspaces.security.authorities.SpaceAuthority.ClassFilter
- All Implemented Interfaces:
- SpaceAuthority.Filter<String>, Serializable
- Direct Known Subclasses:
- SpaceAuthority.NegateClassFilter
- Enclosing class:
- SpaceAuthority
public static class SpaceAuthority.ClassFilter
- extends Object
- implements SpaceAuthority.Filter<String>
Class filter accepting only the defined class-name.
- See Also:
- Serialized Form
SpaceAuthority.ClassFilter
public SpaceAuthority.ClassFilter(String className)
getClassName
public String getClassName()
toString
public String toString()
- Overrides:
toString
in class Object
accept
public boolean accept(String otherClassName)
- Description copied from interface:
SpaceAuthority.Filter
- Tests whether or not the object is acceptable.
- Specified by:
accept
in interface SpaceAuthority.Filter<String>
- Parameters:
otherClassName
- an object to accept.
- Returns:
true
if and only if the filter accepts the the given string;
false
otherwise.
getExpression
public String getExpression()
- Description copied from interface:
SpaceAuthority.Filter
- The wildcard expression representing this filter.
- Specified by:
getExpression
in interface SpaceAuthority.Filter<String>
- Returns:
- wildcard expression.
Copyright © GigaSpaces.