Class EnvUtils

java.lang.Object
com.assemblyrobot.shared.utils.EnvUtils

public abstract class EnvUtils
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    EnvUtils()  
  • Method Summary

    Modifier and Type Method Description
    static void checkEnv()
    Checks that the mandatory environment variables (as defined by /config/config.json) are present.

    Methods inherited from class java.lang.Object

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

    • EnvUtils

      public EnvUtils()
  • Method Details

    • checkEnv

      public static void checkEnv()
      Checks that the mandatory environment variables (as defined by /config/config.json) are present.

      If all environment variables are not present, the application will exit.