Interface CliConnectorFactory


  • public interface CliConnectorFactory
    Factory for creating connector to CLI tooling.

    Such as a local CliConnector that allows Camel CLI to manage local running Camel integrations.

    • Method Detail

      • setEnabled

        void setEnabled​(boolean enabled)
        To enable CLI connector.
      • isEnabled

        boolean isEnabled()
        Whether CLI connector is enabled.
      • setRuntime

        void setRuntime​(String runtime)
        What runtime platform is in use, such as camel-jbang, camel-spring-boot, or camel-quarkus etc.
      • getRuntime

        String getRuntime()
        What runtime platform is in use, such as camel-jbang, camel-spring-boot, or camel-quarkus etc.
      • setRuntimeVersion

        void setRuntimeVersion​(String version)
        What runtime platform version is in use.
      • getRuntimeVersion

        String getRuntimeVersion()
        What runtime platform version is in use.
      • setRuntimeStartClass

        void setRuntimeStartClass​(String className)
        The main class used by the runtime to start.
      • getRuntimeStartClass

        String getRuntimeStartClass()
        The main class used by the runtime to start.
      • createConnector

        CliConnector createConnector()
        Creates the connector which will be added as a Service to CamelContext as the lifecycle to start and stop the connector.