Package

blended.updater

config

Permalink

package config

Visibility
  1. Public
  2. All

Type Members

  1. final case class ActivateProfile(profileName: String, profileVersion: String, overlays: List[OverlayRef]) extends UpdateAction with Product with Serializable

    Permalink
  2. final case class AddOverlayConfig(overlay: OverlayConfig) extends UpdateAction with Product with Serializable

    Permalink
  3. final case class AddRuntimeConfig(runtimeConfig: RuntimeConfig) extends UpdateAction with Product with Serializable

    Permalink
  4. case class Artifact(url: String, fileName: Option[String], sha1Sum: Option[String]) extends Product with Serializable

    Permalink

    A downloadable resource file with optional checksum.

  5. case class BundleConfig(artifact: Artifact, start: Boolean, startLevel: Option[Int]) extends Product with Serializable

    Permalink

    A bundle with a start configuration.

    A bundle with a start configuration. Used as part of RuntimeConfig oder FeatureConfig.

    artifact

    The artifact (file).

    start

    true if the bundle should be auto-started on container start.

    startLevel

    The start level of this bundle.

    See also

    FeatureConfig

    RuntimeConfig

  6. trait ConfigConverter extends AnyRef

    Permalink

    Convert between LauncherConfig and ResolvedRuntimeConfig.

  7. trait ConfigWriter extends AnyRef

    Permalink

    Helper to write Config to files or streams.

  8. case class ContainerInfo(containerId: String, properties: Map[String, String], serviceInfos: List[ServiceInfo], profiles: List[Profile]) extends Product with Serializable

    Permalink
  9. case class ContainerRegistryResponseOK(id: String, actions: List[UpdateAction] = List.empty) extends Product with Serializable

    Permalink
  10. class EnvPropertyProvider extends PropertyProvider

    Permalink
  11. case class FeatureConfig(name: String, version: String, url: Option[String], bundles: List[BundleConfig], features: List[FeatureRef]) extends Product with Serializable

    Permalink
  12. case class FeatureRef(name: String, version: String, url: Option[String] = None) extends Product with Serializable

    Permalink
  13. class FilePropertyProvider extends PropertyProvider

    Permalink
  14. case class GeneratedConfig(configFile: String, config: String) extends Product with Serializable

    Permalink

    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.

  15. final case class LocalOverlays(overlays: List[OverlayConfig], profileDir: File) extends Product with Serializable

    Permalink

    A materialized set of overlays.

    A materialized set of overlays. The overlays are materialized to the given profileDir directory.

    overlays

    Alls involved overlay config.

    profileDir

    The profile directory.

  16. case class LocalRuntimeConfig(resolvedRuntimeConfig: ResolvedRuntimeConfig, baseDir: File) extends Product with Serializable

    Permalink
  17. case class MvnGav(group: String, artifact: String, version: String, classifier: Option[String] = None, fileExt: String = "jar") extends Product with Serializable

    Permalink
  18. 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

    Permalink

    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.

  19. final case class OverlayRef(name: String, version: String) extends Ordered[OverlayRef] with Product with Serializable

    Permalink

    A reference to an overlay config.

    A reference to an overlay config.

    name

    The name of the overlay.

    version

    The version of the overlay.

  20. case class OverlaySet(overlays: List[OverlayRef], state: OverlayState, reason: Option[String] = None) extends Product with Serializable

    Permalink
  21. sealed trait OverlayState extends AnyRef

    Permalink
  22. case class Profile(name: String, version: String, overlays: List[OverlaySet]) extends Product with Serializable

    Permalink
  23. case class ProfileInfo(timeStamp: Long, profiles: List[Profile]) extends Product with Serializable

    Permalink
  24. case class ProfileLookup(profileName: String, profileVersion: String, profileBaseDir: File, overlays: Seq[OverlayRef]) extends Product with Serializable

    Permalink

    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.updater.Updater

    blended.launcher.Launcher

  25. trait PropertyProvider extends AnyRef

    Permalink
  26. case class RemoteContainerState(containerInfo: ContainerInfo, outstandingUpdateActions: List[UpdateAction]) extends Product with Serializable

    Permalink
  27. case class ResolvedRuntimeConfig(runtimeConfig: RuntimeConfig) extends Product with Serializable

    Permalink

    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.

  28. 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

    Permalink
  29. class SerializationException extends Exception

    Permalink
  30. case class ServiceInfo(name: String, serviceType: String, timestampMsec: Long, lifetimeMsec: Long, props: Map[String, String]) extends Product with Serializable

    Permalink
  31. final case class StageProfile(profileName: String, profileVersion: String, overlays: List[OverlayRef]) extends UpdateAction with Product with Serializable

    Permalink
  32. class SystemPropertyProvider extends PropertyProvider

    Permalink
  33. sealed trait UpdateAction extends AnyRef

    Permalink
  34. case class UpdateContainerInfo(info: ContainerInfo) extends Product with Serializable

    Permalink
  35. class UuidPropertyProvider extends PropertyProvider

    Permalink

Value Members

  1. object Artifact extends (String, Option[String], Option[String]) ⇒ Artifact with Serializable

    Permalink
  2. object ArtifactCompanion

    Permalink
  3. object BundleConfig extends (Artifact, Boolean, Option[Int]) ⇒ BundleConfig with Serializable

    Permalink
  4. object BundleConfigCompanion

    Permalink
  5. object ConfigConverter extends ConfigConverter

    Permalink
  6. object ConfigWriter extends ConfigWriter

    Permalink
  7. object FeatureConfig extends (String, String, Option[String], List[BundleConfig], List[FeatureRef]) ⇒ FeatureConfig with Serializable

    Permalink
  8. object FeatureConfigCompanion

    Permalink
  9. object FeatureRefCompanion

    Permalink
  10. object FeatureResolver

    Permalink
  11. object GeneratedConfigCompanion

    Permalink
  12. object LocalOverlays extends Serializable

    Permalink
  13. object MvnGav extends Serializable

    Permalink
  14. object OverlayConfigCompanion

    Permalink

    Helper for OverlayConfig containing common useful operations.

  15. object OverlayState

    Permalink
  16. object Profile extends Serializable

    Permalink
  17. object ProfileLookup extends Serializable

    Permalink
  18. object ResolvedRuntimeConfig extends (RuntimeConfig) ⇒ ResolvedRuntimeConfig with Serializable

    Permalink
  19. object ResolvedRuntimeConfigCompanion

    Permalink
  20. 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

    Permalink
  21. object RuntimeConfigCompanion

    Permalink
  22. object SystemPropertyResolver

    Permalink
  23. object UpdateAction

    Permalink
  24. package json

    Permalink

Ungrouped