Package ej.kf

Enum Feature.State

    • Enum Constant Detail

      • INSTALLED

        public static final Feature.State INSTALLED
        A Feature in the INSTALLED state has been successfully linked to the Kernel and is not running. There are no references from the Kernel to objects owned by this Feature.
      • STARTED

        public static final Feature.State STARTED
        A Feature in the STARTED state has been started and is running.
      • STOPPED

        public static final Feature.State STOPPED
        A Feature in the STOPPED state has been stopped and all its threads are terminated. There are remaining references from the Kernel to objects owned by this Feature.
    • Method Detail

      • values

        public static Feature.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 (Feature.State c : Feature.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 Feature.State 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