com.groupdocs.search.common

Enum IndexStatus

    • Enum Constant Detail

      • Ready

        public static final IndexStatus Ready

        Index is free and ready to change.

      • Failed

        public static final IndexStatus Failed

        Index needs to be reloaded due to an error.

      • Indexing

        public static final IndexStatus Indexing

        Index performs an indexing operation.

      • Updating

        public static final IndexStatus Updating

        Index performs an updating operation.

      • Merging

        public static final IndexStatus Merging

        Index performs a merging operation.

      • Optimizing

        public static final IndexStatus Optimizing

        Index performs an optimizing operation.

      • Deleting

        public static final IndexStatus Deleting

        Index performs a deleting operation.

      • Renaming

        public static final IndexStatus Renaming

        Index performs a renaming operation.

      • ChangingAttributes

        public static final IndexStatus ChangingAttributes

        Index changes attributes.

    • Method Detail

      • values

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

        public static IndexStatus 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