Class Module


  • public class Module
    extends java.lang.Object
    • Field Detail

      • CURRENT_KS_VERSION

        public static final java.lang.String CURRENT_KS_VERSION
        See Also:
        Constant Field Values
      • PIPELINE

        public static final Module PIPELINE
      • VERTX

        public static final Module VERTX
      • HTTP

        public static final Module HTTP
      • GRPC

        public static final Module GRPC
      • MQTT

        public static final Module MQTT
      • DL4J

        public static final Module DL4J
      • SAMEDIFF

        public static final Module SAMEDIFF
      • TENSORFLOW

        public static final Module TENSORFLOW
      • IMAGE

        public static final Module IMAGE
      • CLI

        public static final Module CLI
    • Method Detail

      • dependenciesOptional

        public java.lang.Object dependenciesOptional()
      • forName

        public static Module forName​(java.lang.String moduleName)
        Parameters:
        moduleName - The full name of the module - for example "konduit-serving-tensorflow"
        Returns:
        The module for that name; throws an exception if it does not exist
      • forShortName

        public static Module forShortName​(java.lang.String moduleShortName)
        Parameters:
        moduleShortName - The full name of the module - for example "tensorflow" to get the "konduit-serving-tensorflow" module
        Returns:
        The module for that name; throws an exception if it does not exist
      • moduleExistsForName

        public static boolean moduleExistsForName​(java.lang.String module,
                                                  boolean shortName)
        Parameters:
        module - Name of the module
        shortName - If true: the name is a short name (as per forShortName(String)
        Returns:
        True if a module with that name exists
      • parseDependenciesLine

        protected static DependencyRequirement parseDependenciesLine​(java.lang.String line,
                                                                     boolean any)
      • ksModule

        protected static Dependency ksModule​(java.lang.String name)