Package org.machanism.machai.schema
Class Classification
java.lang.Object
org.machanism.machai.schema.Classification
Categorizes the artifact by type, domain, and supported languages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanApplication domains (e.g., Data Processing, Machine Learning).Names of external backing systems the library integrates with (e.g., commercetools, Adyen, Braintree), if supported.Programming languages supported.Defines which Clean Architecture layers the library belongs to.A property that defines the fundamental runtime or platform required for the library to function.getType()Type of the artifact (e.g., library, plugin, module).Specifies the contexts or environments in which the library can be used.inthashCode()voidsetAdditionalProperty(String name, Object value) voidsetDomains(List<String> domains) Application domains (e.g., Data Processing, Machine Learning).voidsetIntegrations(List<String> integrations) Names of external backing systems the library integrates with (e.g., commercetools, Adyen, Braintree), if supported.voidsetLanguages(List<Language> languages) Programming languages supported.voidDefines which Clean Architecture layers the library belongs to.voidsetTargetEnvironment(List<String> targetEnvironment) A property that defines the fundamental runtime or platform required for the library to function.voidType of the artifact (e.g., library, plugin, module).voidsetUsageContext(List<String> usageContext) Specifies the contexts or environments in which the library can be used.toString()
-
Constructor Details
-
Classification
public Classification()
-
-
Method Details
-
getType
Type of the artifact (e.g., library, plugin, module). (Required) -
setType
Type of the artifact (e.g., library, plugin, module). (Required) -
getDomains
-
setDomains
-
getLanguages
-
setLanguages
-
getLayers
-
setLayers
-
getUsageContext
-
setUsageContext
-
getTargetEnvironment
A property that defines the fundamental runtime or platform required for the library to function. This property should specify only the base environment (e.g., `Java', `Node.js`, `Python`) rather than listing every possible deployment scenario. For example, if a library is written in pure Java, set targetEnvironment to `Java`, indicating compatibility with any environment that supports Java, without the need to enumerate all Java-compatible platforms (such as Windows, Linux, or macOS). -
setTargetEnvironment
A property that defines the fundamental runtime or platform required for the library to function. This property should specify only the base environment (e.g., `Java', `Node.js`, `Python`) rather than listing every possible deployment scenario. For example, if a library is written in pure Java, set targetEnvironment to `Java`, indicating compatibility with any environment that supports Java, without the need to enumerate all Java-compatible platforms (such as Windows, Linux, or macOS). -
getIntegrations
-
setIntegrations
-
getAdditionalProperties
-
setAdditionalProperty
-
toString
-
hashCode
-
equals
-