Class ModuleIdTranslations

java.lang.Object
com.inductiveautomation.ignition.common.util.ModuleIdTranslations

public final class ModuleIdTranslations extends Object
  • Method Details

    • translate

      @Nonnull public static String translate(@Nonnull String moduleId)
      Translate a legacy (pre-8.0) module id to its new (post-8.0) value.

      If the module id has no translation the same value is returned.

      Parameters:
      moduleId - the module id to translate.
      Returns:
      a new module id, if a translation for that module id exists. Otherwise the original value.