Interface Runtime
- All Known Implementing Classes:
RuntimeSupport
public interface Runtime
Runtime is a factory for
Context instances.-
Method Summary
Modifier and TypeMethodDescriptioncreate(ContextOverrides overrides) booleanReturnstrueif this runtime creates managed repository system, that is opposite when MIMA runs in Maven (or any other environment providing resolver), where it does not manage it, as hosting Maven or app does.Returns a string representing Maven version this runtime uses, nevernull.name()The runtime name (mostly for keying purposes), nevernull.intpriority()The priority of runtime instance.version()The runtime version, nevernull.
-
Method Details
-
name
String name()The runtime name (mostly for keying purposes), nevernull. -
version
String version()The runtime version, nevernull. -
priority
int priority()The priority of runtime instance. Priorities use natural integer ordering. -
mavenVersion
String mavenVersion()Returns a string representing Maven version this runtime uses, nevernull. This mostly stands for "maven models" version, except when MIMA runs inside of Maven, when it carries the "actual Maven version". -
managedRepositorySystem
boolean managedRepositorySystem()Returnstrueif this runtime creates managed repository system, that is opposite when MIMA runs in Maven (or any other environment providing resolver), where it does not manage it, as hosting Maven or app does. In general, you should always treat "root context" as explained inContextand your code will be portable. -
create
-