Class ExtensionCriterion

  • All Implemented Interfaces:
    Criterion

    public class ExtensionCriterion
    extends Object
    implements Criterion
    Criterion for implementing selector extensions.
    • Constructor Detail

      • ExtensionCriterion

        public ExtensionCriterion​(ExtensionSelector extensionSelector,
                                  DeviceId deviceId)
        Constructor.
        Parameters:
        extensionSelector - extension selector
        deviceId - device identification
    • Method Detail

      • extensionSelector

        public ExtensionSelector extensionSelector()
        Returns the extension selector.
        Returns:
        extension selector
      • deviceId

        public DeviceId deviceId()
        Returns the device ID.
        Returns:
        device ID
      • type

        public Criterion.Type type()
        Description copied from interface: Criterion
        Returns the type of criterion.
        Specified by:
        type in interface Criterion
        Returns:
        type of criterion
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object