Enum ShutdownController.State

    • Enum Constant Detail

      • ANNOUNCED

        public static final ShutdownController.State ANNOUNCED
        A shutdown has been announced, shutdown preventing actions are not possible anymore.
      • INITIATED

        public static final ShutdownController.State INITIATED
        A shutdown has been initiated, possibly waiting for shutdown preventing actions to finish. Shutdown preventing actions are not possible anymore.
    • Method Detail

      • values

        public static ShutdownController.State[] 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 (ShutdownController.State c : ShutdownController.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ShutdownController.State valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null