cbelasticsearch

Class Config

lucee.Component
    extended by cbelasticsearch.Config

Elasticsearch Config The configuration object for the module

Class Attributes:
  • singleton : true
  •  
  • license : Apache v2.0
  •  
  • package : cbElasticsearch.models.Elasticsearch
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
  • author : Jon Clausen
  •  
    Property Summary
    type property default serializable required
    any configStruct
          CBJavaloader.

    • access = public
    • returntype = any
    • inject = coldbox:modulesettings:cbelasticsearch
    true false
    Method Summary
    any get(string key, [any configNode='[runtime expression]'])
         Returns a key value in the config struct.
    string getConfigStruct()
    any setConfigStruct(any configStruct)
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    configStruct

    property any configStruct

    CBJavaloader

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox:modulesettings:cbelasticsearch
    serializable - true

    Method Detail

    get

    public any get(string key, [any configNode='[runtime expression]'])

    Returns a key value in the config struct

    Parameters:
    key - string the key value to search for. Dot notation may be used to retrieve a nested key
    configNode - any a configuration node to search. Accepts an argument of any to support recursion.
    Returns:
    any|null returns null if the key does not exist. Otherwise returns the value

    getConfigStruct

    public string getConfigStruct()


    setConfigStruct

    public any setConfigStruct(any configStruct)

    Parameters:
    configStruct