Enum LaunchMode

    • Enum Constant Detail

      • NORMAL

        public static final LaunchMode NORMAL
        A normal production build. At the moment this can be both native image or JVM mode, but eventually these will likely be split
      • DEVELOPMENT

        public static final LaunchMode DEVELOPMENT
        quarkus:dev or an IDE launch (when we support IDE launch)
      • TEST

        public static final LaunchMode TEST
        a test run
    • Method Detail

      • values

        public static LaunchMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LaunchMode c : LaunchMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LaunchMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isDevOrTest

        public boolean isDevOrTest()
      • isRemoteDev

        public static boolean isRemoteDev()
        Returns true if the current launch is the server side of remote dev.
      • getDefaultProfile

        public String getDefaultProfile()
      • current

        public static LaunchMode current()
        Returns:
        The current launch mode