Class DefaultFeedbackSpec
java.lang.Object
com.ptc.core.util.feedback.common.impl.DefaultFeedbackSpec
- All Implemented Interfaces:
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
ConstructorsModifierConstructorDescriptionDefaultFeedbackSpec(Object a_key, boolean a_loggingEnabled)
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptiongetKey()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.booleanGets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec.voidSets 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.voidsetLoggingEnabled(boolean a_LoggingEnabled) Sets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec.
-
Constructor Details
-
DefaultFeedbackSpec
Supported API: true- Parameters:
a_key-a_loggingEnabled-
-
-
Method Details
-
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:
getKeyin interfaceFeedbackSpec- Returns:
- Object
-
setKey
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:
setKeyin interfaceFeedbackSpec- 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:
isLoggingEnabledin interfaceFeedbackSpec- Returns:
- boolean
-
setLoggingEnabled
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:
setLoggingEnabledin interfaceFeedbackSpec- Parameters:
a_LoggingEnabled-- Throws:
WTPropertyVetoException
-