Class NoOpAttributePoint

  • All Implemented Interfaces:
    StoutAttributePoint

    public class NoOpAttributePoint
    extends Object
    implements StoutAttributePoint
    To bootstrap the attributes, we need a default attribute point. There isn't a real case to use this outside of that.
    • Constructor Detail

      • NoOpAttributePoint

        public NoOpAttributePoint()
    • Method Detail

      • getValueForAttribute

        public Collection<AttributeValue<?>> getValueForAttribute​(String attributeId,
                                                                  String subject)
        Description copied from interface: StoutAttributePoint
        Returns the valid for a specific attribute id. For our purposes, we will just use id along to determine the value and not worry about category, etc.
        Specified by:
        getValueForAttribute in interface StoutAttributePoint
        Parameters:
        attributeId - attribute id
        subject - the subject for which to find the attribute
        Returns:
        The attribute's value