Class WeatherFunction

java.lang.Object
org.bsc.spring.agentexecutor.function.WeatherFunction
All Implemented Interfaces:
Function<WeatherFunction.Request,WeatherFunction.Response>

public class WeatherFunction extends Object implements Function<WeatherFunction.Request,WeatherFunction.Response>
Class representing the WeatherFunction which implements a Function interface to retrieve weather data from an external API.
  • Constructor Details

    • WeatherFunction

      public WeatherFunction(WeatherConfig props)
      Constructor for the WeatherFunction class that initializes the necessary components based on provided configuration properties and logs relevant debug information.
      Parameters:
      props - Configuration properties for initializing the RestClient.
  • Method Details