PathDeleteResult

Inheritance: java.lang.Object

public class PathDeleteResult

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

Learn more

Methods

Method Description
isSuccess() Returns the success indicator of the delete operation.
getError() Returns a description of deletion error.
getPath() Returns the path to the file or folder to delete.

isSuccess()

public final boolean isSuccess()

Returns the success indicator of the delete operation.

Returns: boolean - true if the delete operation was successful; otherwise, returns false .

getError()

public final String getError()

Returns a description of deletion error.

Returns: java.lang.String - A description of deletion error.

getPath()

public final String getPath()

Returns the path to the file or folder to delete.

Returns: java.lang.String - The path to the file or folder to delete.