com.groupdocs.redaction

Class RedactionResult



  • public class RedactionResult
    extends Object

    Represents a result of the redaction operation.

    • Method Detail

      • getStatus

        public final RedactionStatus getStatus()

        Gets the execution status.

        Returns:
        The execution status.
      • getErrorMessage

        public final String getErrorMessage()

        Gets the error message for diagnostics.

        Returns:
        The error message for diagnostics.
      • skipped

        public static RedactionResult skipped(String description)

        Initializes a new instance of RedactionResult class with Skipped status.

        Parameters:
        description - Reason why the operation was skipped
        Returns:
        Sskipped redaction result
      • partial

        public static RedactionResult partial(String description)

        Initializes a new instance of RedactionResult class with PartiallyApplied status.

        Parameters:
        description - Reason why the operation was not fully applied
        Returns:
        Partially applied redaction result
      • failed

        public static RedactionResult failed(String description)

        Initializes a new instance of RedactionResult class with Failed status.

        Parameters:
        description - Failure or exception details
        Returns:
        Failed redaction result
      • successful

        public static RedactionResult successful()

        Initializes a new instance of RedactionResult class with Applied (successful) status.

        Returns:
        Successful redaction result