com.groupdocs.search.results

Class PathDeleteResult



  • public class PathDeleteResult
    extends Object

    Represents the result of the operation to delete an indexed file or folder from an index.

    • Constructor Detail

      • PathDeleteResult

        protected PathDeleteResult(boolean isSuccess,
                        String error,
                        String path)

        Initializes a new instance of the PathDeleteResult class.

        Parameters:
        isSuccess - The success indicator of the delete operation.
        error - The description of deletion error.
        path - The path to the file or folder to delete.
    • Method Detail

      • isSuccess

        public final boolean isSuccess()

        Returns the success indicator of the delete operation.

        Returns:
        true if the delete operation was successful; otherwise, returns false.
      • getError

        public final String getError()

        Returns a description of deletion error.

        Returns:
        A description of deletion error.
      • getPath

        public final String getPath()

        Returns the path to the file or folder to delete.

        Returns:
        The path to the file or folder to delete.