Package ai.protify.core.internal.service
Enum ReturnTypeMapper.ReturnCategory
- java.lang.Object
-
- java.lang.Enum<ReturnTypeMapper.ReturnCategory>
-
- ai.protify.core.internal.service.ReturnTypeMapper.ReturnCategory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ReturnTypeMapper.ReturnCategory>
- Enclosing class:
- ReturnTypeMapper
public static enum ReturnTypeMapper.ReturnCategory extends java.lang.Enum<ReturnTypeMapper.ReturnCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AI_RESPONSEAI_STREAM_RESPONSECOMPLETABLE_FUTUREENUMLISTPOJOPRIMITIVESTRINGVOID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReturnTypeMapper.ReturnCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ReturnTypeMapper.ReturnCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final ReturnTypeMapper.ReturnCategory STRING
-
POJO
public static final ReturnTypeMapper.ReturnCategory POJO
-
LIST
public static final ReturnTypeMapper.ReturnCategory LIST
-
ENUM
public static final ReturnTypeMapper.ReturnCategory ENUM
-
PRIMITIVE
public static final ReturnTypeMapper.ReturnCategory PRIMITIVE
-
AI_RESPONSE
public static final ReturnTypeMapper.ReturnCategory AI_RESPONSE
-
AI_STREAM_RESPONSE
public static final ReturnTypeMapper.ReturnCategory AI_STREAM_RESPONSE
-
COMPLETABLE_FUTURE
public static final ReturnTypeMapper.ReturnCategory COMPLETABLE_FUTURE
-
VOID
public static final ReturnTypeMapper.ReturnCategory VOID
-
-
Method Detail
-
values
public static ReturnTypeMapper.ReturnCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReturnTypeMapper.ReturnCategory c : ReturnTypeMapper.ReturnCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReturnTypeMapper.ReturnCategory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-