Class CopyResult


  • public class CopyResult
    extends Object
    Provides a copy operation result class.
    Since:
    4.1.0
    • Constructor Detail

      • CopyResult

        public CopyResult​(String destinationUrl,
                          String errorCode,
                          String errorMessage)
        Create a new CopyResult object with the given parameters
        Parameters:
        destinationUrl - the destination URL of a copy operation
        errorCode - an error (or success) code associated with a copy operation.
        errorMessage - an error message associated with a copy operation.
    • Method Detail

      • getDestinationUrl

        public String getDestinationUrl()
        Return the destination URL of a copy operation
        Returns:
        the destination URL of a copy operation
      • getErrorCode

        public String getErrorCode()
        Return an error (or success) code associated with a copy operation.
        Returns:
        an error (or success) code associated with a copy operation.
      • getErrorMessage

        public String getErrorMessage()
        Return an error message associated with a copy operation.
        Returns:
        an error message associated with a copy operation.
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        the string representation of this object