Class MicronautRuntimeModule
java.lang.Object
io.micronaut.module.info.runtime.MicronautRuntimeModule
Represents a resolved Micronaut module at runtime with parent and children references.
Instead of IDs, this runtime bean uses references to model the hierarchy and replaces
MicronautModuleInfo which uses IDs for hierarchical relationships.
-
Constructor Summary
ConstructorsConstructorDescriptionMicronautRuntimeModule(MicronautModuleInfo info, @Nullable MicronautRuntimeModule parent, List<MicronautRuntimeModule> children) -
Method Summary
Modifier and TypeMethodDescriptionReturns the child modules.A description of this module.getId()The id for this module.getInfo()Returns the Maven coordinates for this module, if it can be represented so.getName()A human-readable name for this module.Returns the parent module, if any.getRoot()Returns the root module descriptor.getTags()A set of tags assigned to this module.The version of this module.toString()
-
Constructor Details
-
MicronautRuntimeModule
public MicronautRuntimeModule(MicronautModuleInfo info, @Nullable MicronautRuntimeModule parent, List<MicronautRuntimeModule> children)
-
-
Method Details
-
getInfo
-
getId
The id for this module. It is recommended to use "groupId:artifactId". Do NOT include version information in the id.- Returns:
- the id for this module.
-
getName
-
getDescription
-
getVersion
-
getMavenCoordinates
Returns the Maven coordinates for this module, if it can be represented so.- Returns:
- the Maven coordinates
-
getParent
Returns the parent module, if any.- Returns:
- the parent module
-
getChildren
Returns the child modules.- Returns:
- the child modules
-
getTags
-
getRoot
Returns the root module descriptor.- Returns:
- the root descriptor
-
toString
-