Class FeedbackImpl

  • All Implemented Interfaces:
    Feedback

    public final class FeedbackImpl
    extends java.lang.Object
    implements Feedback
    • Constructor Summary

      Constructors 
      Constructor Description
      FeedbackImpl​(long key, java.lang.String name, java.util.List<java.lang.String> messages, Metric metric, FeedbackImportance importance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FeedbackImportance getImportance()
      Gets the importance category of the feedback.
      long getKey()
      Gets the key.
      java.util.List<java.lang.String> getMessages()
      Gets a list of different message options for the feedback.
      Metric getMetric()
      Gets the Metric on which the feedback is based on.
      java.lang.String getName()
      Gets the name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeedbackImpl

        public FeedbackImpl​(long key,
                            java.lang.String name,
                            java.util.List<java.lang.String> messages,
                            Metric metric,
                            FeedbackImportance importance)
    • Method Detail

      • getKey

        public long getKey()
        Description copied from interface: Feedback
        Gets the key.
        Specified by:
        getKey in interface Feedback
        Returns:
        the key.
      • getName

        public java.lang.String getName()
        Description copied from interface: Feedback
        Gets the name.
        Specified by:
        getName in interface Feedback
        Returns:
        the name.
      • getMetric

        public Metric getMetric()
        Description copied from interface: Feedback
        Gets the Metric on which the feedback is based on.
        Specified by:
        getMetric in interface Feedback
        Returns:
        the metric.
      • getMessages

        public java.util.List<java.lang.String> getMessages()
        Description copied from interface: Feedback
        Gets a list of different message options for the feedback.
        Specified by:
        getMessages in interface Feedback
        Returns:
        the list of messages.
      • getImportance

        public FeedbackImportance getImportance()
        Description copied from interface: Feedback
        Gets the importance category of the feedback.
        Specified by:
        getImportance in interface Feedback
        Returns:
        the feedback importance.