Package org.freeplane.api.ai
Enum Class AiRequestMode
- All Implemented Interfaces:
Serializable,Comparable<AiRequestMode>,Constable
User-interface visibility for an AI request.
- Since:
- 1.13.3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdd the request to the selected chat when compatible, otherwise start a new visible script chat.Run hidden from chat history without showing a progress dialog.Run hidden from chat history and show a progress dialog with cancellation.Start a new visible chat tab/session for the request. -
Method Summary
Modifier and TypeMethodDescriptionstatic AiRequestModeReturns the enum constant of this class with the specified name.static AiRequestMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHOW_IN_NEW_CHAT
Start a new visible chat tab/session for the request. -
ADD_TO_CHAT
Add the request to the selected chat when compatible, otherwise start a new visible script chat. -
HIDDEN_WITH_CANCEL_DIALOG
Run hidden from chat history and show a progress dialog with cancellation. -
HIDDEN
Run hidden from chat history without showing a progress dialog.
-
-
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
-