Enum ModuleState

    • Enum Constant Detail

      • INSTALLED

        public static final ModuleState INSTALLED
        The 'installed' state.
      • RESOLVED

        public static final ModuleState RESOLVED
        The 'resolved' state. Implies 'installed'.
      • STARTING

        public static final ModuleState STARTING
        The 'starting' state. Implies 'resolved'.
      • ACTIVE

        public static final ModuleState ACTIVE
        The 'active' state. Implies 'resolved'.
      • STOPPING

        public static final ModuleState STOPPING
        The 'stopping' state. Implies 'resolved'.
      • UNINSTALLED

        public static final ModuleState UNINSTALLED
        The 'uninstalled' state. Implies 'active' because modules cannot be uninstalled while the runtime is still up and running.
      • NULL

        public static final ModuleState NULL
        The 'null' state, which means that the state has not been set. Clients will never observe this state.
    • Method Detail

      • values

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

        public static ModuleState 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
      • getValue

        public int getValue()