Interface NaturalActions

All Superinterfaces:
org.aeonbits.owner.Config, EngineProperties<NaturalActions>, Serializable

@Sources({"system:properties","file:src/main/resources/properties/custom.properties","file:src/main/resources/properties/default/custom.properties","classpath:custom.properties"}) public interface NaturalActions extends EngineProperties<NaturalActions>
Configuration for deterministic and optional provider-assisted natural-language GUI actions.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Fluent current-thread overrides for natural-language actions.

    Nested classes/interfaces inherited from interface org.aeonbits.owner.Config

    org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    boolean
     
    int
     
     
    set()
    Returns a fluent builder for current-thread overrides.
  • Method Details

    • enabled

      @Key("naturalActions.enabled") @DefaultValue("false") boolean enabled()
      Returns:
      whether natural-language actions are enabled
    • minimumTrustPercentage

      @Key("naturalActions.minimumTrustPercentage") @DefaultValue("85") int minimumTrustPercentage()
      Returns:
      minimum accepted trust percentage from 0 to 100
    • planner

      @Key("naturalActions.planner") @DefaultValue("deterministic") String planner()
      Returns:
      selected planner identifier, such as deterministic, auto, or a ServiceLoader planner id
    • aiFallbackEnabled

      @Key("naturalActions.aiFallback.enabled") @DefaultValue("false") boolean aiFallbackEnabled()
      Returns:
      whether optional AI/provider fallback planners may be used
    • allowedActions

      @Key("naturalActions.allowedActions") @DefaultValue("browser,element,touch") String allowedActions()
      Returns:
      comma-separated action target categories allowed for execution
    • set

      Returns a fluent builder for current-thread overrides.
      Specified by:
      set in interface EngineProperties<NaturalActions>
      Returns:
      current-thread property builder