Class DefaultFeedbackSpec

java.lang.Object
com.ptc.core.util.feedback.common.impl.DefaultFeedbackSpec
All Implemented Interfaces:
FeedbackSpec, Serializable

public class DefaultFeedbackSpec extends Object implements FeedbackSpec, Serializable

Default implementation of the FeedbackSpec interface found in com.ptc.core.util.common.feedback

Supported API: true

Extendable: false

See Also:
  • Field Summary

    Fields inherited from interface com.ptc.core.util.feedback.common.FeedbackSpec

    KEY, LOGGING_ENABLED
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    DefaultFeedbackSpec(Object a_key, boolean a_loggingEnabled)


    Supported API: true
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.
    boolean
    Gets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec.
    void
    setKey(Object a_Key)
    Sets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.
    void
    setLoggingEnabled(boolean a_LoggingEnabled)
    Sets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec.

    Methods inherited from class java.lang.Object

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

    • DefaultFeedbackSpec

      public DefaultFeedbackSpec(Object a_key, boolean a_loggingEnabled)


      Supported API: true
      Parameters:
      a_key -
      a_loggingEnabled -
  • Method Details

    • getKey

      public Object getKey()
      Gets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.

      Supported API: true
      Specified by:
      getKey in interface FeedbackSpec
      Returns:
      Object
    • setKey

      public void setKey(Object a_Key)
      Sets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.

      Supported API: true
      Specified by:
      setKey in interface FeedbackSpec
      Parameters:
      a_Key -
    • isLoggingEnabled

      public boolean isLoggingEnabled()
      Gets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec. Default is false.

      Supported API: true
      Specified by:
      isLoggingEnabled in interface FeedbackSpec
      Returns:
      boolean
    • setLoggingEnabled

      public void setLoggingEnabled(boolean a_LoggingEnabled) throws WTPropertyVetoException
      Sets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec. Default is false.

      Supported API: true
      Specified by:
      setLoggingEnabled in interface FeedbackSpec
      Parameters:
      a_LoggingEnabled -
      Throws:
      WTPropertyVetoException