Package org.freeplane.api.ai
Enum Class AiToolAvailability
- All Implemented Interfaces:
Serializable,Comparable<AiToolAvailability>,Constable
Tool availability requested for an AI call.
CURRENT means the request should use the current AI tool setting.
To inherit a saved prompt's own setting, leave
AiRequestOptions.Builder.toolAvailability(AiToolAvailability) unset.
- 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 ConstantDescriptionUse the current AI tool setting.Disable application tools for the request.Allow Freeplane reading and map-editing tools, but not script/code execution tools.Allow Freeplane read/search/selection tools only.Allow editing tools and script/code execution tools where those tools are enabled and authorized. -
Method Summary
Modifier and TypeMethodDescriptionstatic AiToolAvailabilityReturns the enum constant of this class with the specified name.static AiToolAvailability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CURRENT
Use the current AI tool setting. -
DISABLED
Disable application tools for the request. -
READING
Allow Freeplane read/search/selection tools only. -
EDITING
Allow Freeplane reading and map-editing tools, but not script/code execution tools. -
SCRIPT_EXECUTION
Allow editing tools and script/code execution tools where those tools are enabled and authorized.
-
-
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
-