Package io.jmix.core
Class JmixModuleDescriptor
java.lang.Object
io.jmix.core.JmixModuleDescriptor
Describes a Jmix module which the current application depends on.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
INTERNAL.boolean
dependsOn
(JmixModuleDescriptor other) Check if this module depends on the given module.boolean
Returns an unmodifiable list of dependent modules.getId()
getProperty
(String property) org.springframework.core.env.PropertySource<?>
Get the module's PropertySource.int
hashCode()
void
setPropertySource
(org.springframework.core.env.PropertySource<?> propertySource) INTERNAL.toString()
-
Constructor Details
-
JmixModuleDescriptor
-
JmixModuleDescriptor
-
-
Method Details
-
getId
- Returns:
- module Id
-
getBasePackage
- Returns:
- base package of the module
-
addDependency
INTERNAL. Add a dependency to the module. -
getDependencies
Returns an unmodifiable list of dependent modules. -
dependsOn
Check if this module depends on the given module. -
setPropertySource
public void setPropertySource(@Nullable org.springframework.core.env.PropertySource<?> propertySource) INTERNAL. Set the module's PropertySource. -
getPropertySource
@Nullable public org.springframework.core.env.PropertySource<?> getPropertySource()Get the module's PropertySource. -
getProperty
- Returns:
- a property defined in this module's PropertySource or null if not found
-
equals
-
hashCode
public int hashCode() -
toString
-