Package com.tnsai.session.extraction
Enum Class ExtractionType
- All Implemented Interfaces:
Serializable,Comparable<ExtractionType>,Constable
Types of knowledge that can be extracted from sessions.
- Author:
- TnsAI Team
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnti-pattern or approach to avoid.Architectural or design decision.Lesson learned from the session.Recurring code or design pattern.Problem-solution pair. -
Method Summary
Modifier and TypeMethodDescriptionGets a human-readable description.getKey()Gets the key used for storage and lookup.static ExtractionTypeReturns the enum constant of this class with the specified name.static ExtractionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SOLUTION
Problem-solution pair. Captures a problem encountered and how it was solved. -
PATTERN
Recurring code or design pattern. Captures patterns that can be reused. -
DECISION
Architectural or design decision. Captures why a certain approach was chosen. -
LEARNING
Lesson learned from the session. Captures insights that could help in future tasks. -
ANTIPATTERN
Anti-pattern or approach to avoid. Captures what didn't work and should be avoided.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
Gets the key used for storage and lookup.- Returns:
- the key
-
getDescription
Gets a human-readable description.- Returns:
- the description
-