Class ClassCriterion<T>

java.lang.Object
net.shibboleth.utilities.java.support.resolver.ClassCriterion<T>
Type Parameters:
T - class type
All Implemented Interfaces:
Criterion

public class ClassCriterion<T>
extends Object
implements Criterion
A Criterion based on class type.
Since:
8.0.0
  • Field Details

    • classType

      @Nonnull private final Class<T> classType
      The type to search for.
  • Constructor Details

    • ClassCriterion

      public ClassCriterion​(@Nonnull @ParameterName(name="type") Class<T> type)
      Constructor.
      Parameters:
      type - class type of criterion
  • Method Details

    • getType

      @Nonnull public Class<T> getType()
      Get the class type of this criterion.
      Returns:
      class type