package config
- Alphabetic
- Public
- All
Type Members
- final case class ActivateProfile(profileName: String, profileVersion: String, overlays: List[OverlayRef]) extends UpdateAction with Product with Serializable
- final case class AddOverlayConfig(overlay: OverlayConfig) extends UpdateAction with Product with Serializable
- final case class AddRuntimeConfig(runtimeConfig: RuntimeConfig) extends UpdateAction with Product with Serializable
-
case class
Artifact(url: String, fileName: Option[String], sha1Sum: Option[String]) extends Product with Serializable
A downloadable resource file with optional checksum.
-
case class
BundleConfig(artifact: Artifact, start: Boolean, startLevel: Option[Int]) extends Product with Serializable
A bundle with a start configuration.
A bundle with a start configuration. Used as part of RuntimeConfig oder FeatureConfig.
- artifact
The artifact (file).
- start
trueif the bundle should be auto-started on container start.- startLevel
The start level of this bundle.
- See also
-
trait
ConfigConverter extends AnyRef
Convert between LauncherConfig and ResolvedRuntimeConfig.
-
trait
ConfigWriter extends AnyRef
Helper to write Config to files or streams.
- case class ContainerInfo(containerId: String, properties: Map[String, String], serviceInfos: List[ServiceInfo], profiles: List[Profile], timestampMsec: Long) extends Product with Serializable
- case class ContainerRegistryResponseOK(id: String, actions: List[UpdateAction] = List.empty) extends Product with Serializable
- class EnvPropertyProvider extends PropertyProvider
-
case class
FeatureConfig(name: String, version: String, url: Option[String], bundles: List[BundleConfig], features: List[FeatureRef]) extends Product with Serializable
A Feature configuration, holds a collection of BundleConfigs to build up a RuntimeConfig.
- case class FeatureRef(name: String, version: String, url: Option[String] = None) extends Product with Serializable
- class FilePropertyProvider extends PropertyProvider
-
case class
GeneratedConfig(configFile: String, config: String) extends Product with Serializable
Definition of a config file generator.
Definition of a config file generator. The generator has a file name (relative to the profile) and will write the given config into the config file.
- configFile
The relative config file name.
-
final
case class
LocalOverlays(overlays: List[OverlayConfig], profileDir: File) extends Product with Serializable
A materialized set of overlays.
A materialized set of overlays. The overlays are materialized to the given
profileDirdirectory.- overlays
Alls involved overlay config.
- profileDir
The profile directory.
- case class LocalRuntimeConfig(resolvedRuntimeConfig: ResolvedRuntimeConfig, baseDir: File) extends Product with Serializable
-
trait
Mapper extends AnyRef
Mapper functions for bi-directional mapping of domain model case classes to java.util.Map's with JVM-only types.
- case class MvnGav(group: String, artifact: String, version: String, classifier: Option[String] = None, fileExt: String = "jar") extends Product with Serializable
-
final
case class
OverlayConfig(name: String, version: String, generatedConfigs: List[GeneratedConfig] = List.empty, properties: Map[String, String] = Map.empty) extends Ordered[OverlayConfig] with Product with Serializable
Definition of an overlay.
Definition of an overlay.
- name
The name of the overlay.
- version
The version of the overlay.
- generatedConfigs
The config file generators.
- properties
Additional system properties.
-
final
case class
OverlayRef(name: String, version: String) extends Ordered[OverlayRef] with Product with Serializable
A reference to an overlay config.
A reference to an overlay config.
- name
The name of the overlay.
- version
The version of the overlay.
-
case class
OverlaySet(overlays: List[OverlayRef], state: OverlayState, reason: Option[String] = None) extends Product with Serializable
A set of overlay reference that are meant to be used together.
A set of overlay reference that are meant to be used together. The empty list represents together with an RuntimeConfig represents an deployable base profile.
- sealed trait OverlayState extends AnyRef
- case class ProfileInfo(timeStamp: Long, profiles: List[Profile]) extends Product with Serializable
-
case class
ProfileLookup(profileName: String, profileVersion: String, profileBaseDir: File, overlays: Seq[OverlayRef]) extends Product with Serializable
Information used by the Blended Launcher and Blended Updater to determine or persist the currently selected and active profile configuration.
Information used by the Blended Launcher and Blended Updater to determine or persist the currently selected and active profile configuration.
- profileName
The name of the profile.
- profileVersion
The version of the profile.
- profileBaseDir
The directory, where the files of the profile will be looked up. The determine the concrete profile directory, use ProfileLookup#materializedDir
- overlays
The active applied overlays for this profile.
- See also
blended.launcher.Launcher
blended.updater.Updater
- abstract class PropertyProvider extends AnyRef
- case class RemoteContainerState(containerInfo: ContainerInfo, outstandingUpdateActions: List[UpdateAction]) extends Product with Serializable
-
case class
ResolvedRuntimeConfig(runtimeConfig: RuntimeConfig) extends Product with Serializable
Encapsulated a [RuntimeConfig] guaranteed to contain resolved [FeatureConfig]s for each contained (transitive) [FreatureRef].
Encapsulated a [RuntimeConfig] guaranteed to contain resolved [FeatureConfig]s for each contained (transitive) [FreatureRef].
If there are unresolved (transitive) features, this class construction throws with a [java.lang.IllegalArgumentException].
- See also
[FeatureResolver] for a way to automatically resolve features, e.g. from remote repositories.
- case class RolloutProfile(profileName: String, profileVersion: String, overlays: List[OverlayRef], containerIds: List[String]) extends Product with Serializable
- case class RuntimeConfig(name: String, version: String, bundles: List[BundleConfig] = List.empty, startLevel: Int, defaultStartLevel: Int, properties: Map[String, String] = Map.empty, frameworkProperties: Map[String, String] = Map.empty, systemProperties: Map[String, String] = Map.empty, features: List[FeatureRef] = List.empty, resources: List[Artifact] = List.empty, resolvedFeatures: List[FeatureConfig] = List.empty) extends Product with Serializable
- class SerializationException extends Exception
- case class ServiceInfo(name: String, serviceType: String, timestampMsec: Long, lifetimeMsec: Long, props: Map[String, String]) extends Product with Serializable
- case class SingleProfile(name: String, version: String, overlaySet: OverlaySet) extends Product with Serializable
- final case class StageProfile(profileName: String, profileVersion: String, overlays: List[OverlayRef]) extends UpdateAction with Product with Serializable
- class SystemPropertyProvider extends PropertyProvider
- sealed trait UpdateAction extends AnyRef
- case class UpdateContainerInfo(info: ContainerInfo) extends Product with Serializable
- class UuidPropertyProvider extends PropertyProvider
-
case class
Profile(name: String, version: String, overlays: List[OverlaySet]) extends Product with Serializable
- Annotations
- @deprecated
- Deprecated
To be used only be the updater and will be renamed. Use SingleProfile instead.
Value Members
- object Artifact extends (String, Option[String], Option[String]) ⇒ Artifact with Serializable
- object ArtifactCompanion
- object BundleConfig extends (Artifact, Boolean, Option[Int]) ⇒ BundleConfig with Serializable
- object BundleConfigCompanion
- object ConfigConverter extends ConfigConverter
- object ConfigWriter extends ConfigWriter
- object FeatureConfig extends (String, String, Option[String], List[BundleConfig], List[FeatureRef]) ⇒ FeatureConfig with Serializable
- object FeatureConfigCompanion
- object FeatureRefCompanion
- object FeatureResolver
- object GeneratedConfigCompanion
- object LocalOverlays extends Serializable
- object Mapper extends Mapper
- object MvnGav extends Serializable
-
object
OverlayConfigCompanion
Helper for OverlayConfig containing common useful operations.
- object OverlayState
- object Profile extends Serializable
- object ProfileLookup extends Serializable
- object ResolvedRuntimeConfig extends (RuntimeConfig) ⇒ ResolvedRuntimeConfig with Serializable
- object ResolvedRuntimeConfigCompanion
- object RolloutProfile extends Serializable
- object RuntimeConfig extends (String, String, List[BundleConfig], Int, Int, Map[String, String], Map[String, String], Map[String, String], List[FeatureRef], List[Artifact], List[FeatureConfig]) ⇒ RuntimeConfig with Serializable
- object RuntimeConfigCompanion
- object SystemPropertyResolver
- object UpdateAction