File tree Expand file tree Collapse file tree
src/main/java/org/apache/nifi/components/connector/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818package org .apache .nifi .components .connector .components ;
1919
20+ import java .util .Map ;
2021import java .util .concurrent .CompletableFuture ;
2122
2223public interface ControllerServiceLifecycle {
@@ -25,6 +26,16 @@ public interface ControllerServiceLifecycle {
2526
2627 CompletableFuture <Void > enable ();
2728
29+ /**
30+ * Enables the Controller Service using the provided property value overrides. The overrides are merged with
31+ * the currently configured property values, with the overrides taking precedence. This allows enabling a service
32+ * with temporary property value overrides without modifying the service's configuration.
33+ *
34+ * @param propertyValueOverrides the property value overrides to apply when enabling the service
35+ * @return a CompletableFuture that completes when the service has been enabled
36+ */
37+ CompletableFuture <Void > enable (Map <String , String > propertyValueOverrides );
38+
2839 CompletableFuture <Void > disable ();
2940
3041}
You can’t perform that action at this time.
0 commit comments