Class ObservableHelper

java.lang.Object
eu.qualimaster.easy.extension.internal.ObservableHelper
All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IVilType

public class ObservableHelper extends Object implements net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
Maps IVML names to observables.
Author:
Holger Eichelberger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static eu.qualimaster.observables.IObservable
    Turns the IVML name of an observable into an observable.
    static net.ssehub.easy.instantiation.core.model.vilTypes.Map<String,eu.qualimaster.observables.IObservable>
    mapObservable(net.ssehub.easy.instantiation.core.model.vilTypes.Set<String> ivmlNames)
    Turns a set of string names into a mapping of names and observables.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObservableHelper

      public ObservableHelper()
  • Method Details

    • mapObservable

      public static eu.qualimaster.observables.IObservable mapObservable(String ivmlName)
      Turns the IVML name of an observable into an observable.
      Parameters:
      ivmlName - the IVML name
      Returns:
      the observable (may be null if there is no mapping)
    • mapObservable

      public static net.ssehub.easy.instantiation.core.model.vilTypes.Map<String,eu.qualimaster.observables.IObservable> mapObservable(net.ssehub.easy.instantiation.core.model.vilTypes.Set<String> ivmlNames)
      Turns a set of string names into a mapping of names and observables. Observables are added only if there is a mapping through mapObservable(String),
      Parameters:
      ivmlNames - the names to be mapped
      Returns:
      the name-observable mapping