From beada3a0b4a45aa5328b586429c15f47296ccfcd Mon Sep 17 00:00:00 2001 From: Philipp Zehnder Date: Wed, 2 Oct 2024 12:38:52 +0200 Subject: [PATCH] refactor: Add javadoc to class FunctionRegistrationHandler (#3277) --- .../function/FunctionRegistrationHandler.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/streampipes-service-extensions/src/main/java/org/apache/streampipes/service/extensions/function/FunctionRegistrationHandler.java b/streampipes-service-extensions/src/main/java/org/apache/streampipes/service/extensions/function/FunctionRegistrationHandler.java index 04f1f370c4..8e17da40dd 100644 --- a/streampipes-service-extensions/src/main/java/org/apache/streampipes/service/extensions/function/FunctionRegistrationHandler.java +++ b/streampipes-service-extensions/src/main/java/org/apache/streampipes/service/extensions/function/FunctionRegistrationHandler.java @@ -26,6 +26,16 @@ import java.util.List; +/** + * The {@code FunctionRegistrationHandler} class is responsible for registering + * a list of functions with the StreamPipes backend system. + * + *

Note: This class only handles the registration of the functions in the backend. + * The actual execution of the registered functions occurs in the extension service. + * + *

Once the registration is successful, a log entry is created to indicate + * the completion of the process. + */ public class FunctionRegistrationHandler extends RegistrationHandler { private static final Logger LOG = LoggerFactory.getLogger(FunctionRegistrationHandler.class); @@ -36,7 +46,8 @@ public FunctionRegistrationHandler(List functions) { @Override protected void performRequest(StreamPipesClient client) { - client.adminApi().registerFunctions(functions); + client.adminApi() + .registerFunctions(functions); } @Override