Class DeepConfigBuilder


  • public class DeepConfigBuilder
    extends Object
    Builder to create deep config.
    • Constructor Detail

      • DeepConfigBuilder

        public DeepConfigBuilder()
    • Method Detail

      • start

        public void start()
        Start Deep using this config.
      • setJarPath

        public DeepConfigBuilder setJarPath​(String path)
        This allows for overriding the path to the deep agent jar. This is useful when embedding deep into complex applications such as OSGI.
        Parameters:
        path - the full path to the agent jar file
        Returns:
        {this}
      • setValue

        public DeepConfigBuilder setValue​(String key,
                                          String value)
        Set a config value for deep. For the possible keys see the docs on config.
        Parameters:
        key - the key for the config value
        value - the value as a string object
        Returns:
        {this{}}
      • setValue

        public DeepConfigBuilder setValue​(String key,
                                          boolean value)
        Set a config value for deep. For the possible keys see the docs on config.
        Parameters:
        key - the key for the config value
        value - the value as a boolean
        Returns:
        {this{}}
      • setValue

        public DeepConfigBuilder setValue​(String key,
                                          int value)
        Set a config value for deep. For the possible keys see the docs on config.
        Parameters:
        key - the key for the config value
        value - the value as an int
        Returns:
        {this{}}
      • setValue

        public DeepConfigBuilder setValue​(String key,
                                          double value)
        Set a config value for deep. For the possible keys see the docs on config.
        Parameters:
        key - the key for the config value
        value - the value as a double
        Returns:
        {this{}}