com.groupdocs.redaction

Class RedactionResult



  • public class RedactionResult
    extends Object

    Represents result of a redaction operation

    • Method Detail

      • getSuccess

        @Deprecated
        public final boolean getSuccess()
        Deprecated. 

        Successful execution flag

      • getStatus

        public final int getStatus()

        Execution status

      • getErrorMessage

        public final String getErrorMessage()

        Error or informative message for diagnostics

      • skipped

        public static RedactionResult skipped(String description)

        Instantiate skipped redaction result

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

        public static RedactionResult partial(String description)

        Instantiate partially applied redaction result

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

        public static RedactionResult failed(String description)

        Instantiate failed redaction result

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

        public static RedactionResult successful()

        Instantiate successful redaction result

        Returns:
        Successful redaction result