Package ai.konduit.serving.build.config
Class Module
- java.lang.Object
-
- ai.konduit.serving.build.config.Module
-
public class Module extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ModuleCLIstatic java.lang.StringCURRENT_KS_VERSIONstatic ModuleDL4Jstatic ModuleGRPCstatic ModuleHTTPstatic ModuleIMAGEstatic ModuleMQTTstatic ModulePIPELINEstatic ModuleSAMEDIFFstatic ModuleTENSORFLOWstatic ModuleVERTX
-
Constructor Summary
Constructors Constructor Description Module(java.lang.String name, Dependency dependency, ModuleRequirements dependencyRequirements, ModuleRequirements dependencyOptional)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectdependenciesOptional()static ModuleforName(java.lang.String moduleName)static ModuleforShortName(java.lang.String moduleShortName)protected static DependencyksModule(java.lang.String name)static booleanmoduleExistsForName(java.lang.String module, boolean shortName)protected static DependencyRequirementparseDependenciesLine(java.lang.String line, boolean any)
-
-
-
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
-
-
Constructor Detail
-
Module
public Module(java.lang.String name, Dependency dependency, ModuleRequirements dependencyRequirements, ModuleRequirements dependencyOptional)
-
-
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 moduleshortName- If true: the name is a short name (as perforShortName(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)
-
-