public interface VersionManager
Modifier and Type | Method and Description |
---|---|
String |
getLoadedVersion()
Gets the current loaded Camel version used by the catalog.
|
InputStream |
getResourceAsStream(String name)
Returns an input stream for reading the specified resource from the loaded Catalog version.
|
String |
getRuntimeProviderLoadedVersion()
Gets the current loaded runtime provider version used by the catalog.
|
boolean |
loadRuntimeProviderVersion(String groupId,
String artifactId,
String version)
Attempt to load the runtime provider version to be used by the catalog.
|
boolean |
loadVersion(String version)
Attempt to load the Camel version to be used by the catalog.
|
String getLoadedVersion()
boolean loadVersion(String version)
version
- the Camel version such as 2.17.1String getRuntimeProviderLoadedVersion()
boolean loadRuntimeProviderVersion(String groupId, String artifactId, String version)
groupId
- the runtime provider Maven groupIdartifactId
- the runtime provider Maven artifactIdversion
- the runtime provider Maven versionInputStream getResourceAsStream(String name)
name
- the resource nameApache Camel