com.filenet.api.engine

Class StorageDeviceHandler.ContentValidationResult

  • java.lang.Object
    • com.filenet.api.engine.StorageDeviceHandler.ContentValidationResult
  • Enclosing interface:
    StorageDeviceHandler


    public static class StorageDeviceHandler.ContentValidationResult
    extends java.lang.Object
    Object reporting the outcome of a validateContent operation.
    • Constructor Detail

      • ContentValidationResult

        public ContentValidationResult(StorageDeviceHandler.ValidationStatus status,
                                       long actualSize,
                                       java.lang.String message)
        Constructor. Use to create the result object.
        Parameters:
        status - Set to the appropriate ValidationStatus value according to the outcome of the operation.
        actualSize - In an operation reporting either SUCCESS or WRONG_SIZE gives the actual size in bytes of the content in the device.
        message - An optional string value giving additional details of the outcome of the operation. Specify null if no additional details are available.
    • Method Detail

      • actualSize

        public long actualSize()
        Returns:
        The value of the actualSize parameter to the constructor.
      • message

        public java.lang.String message()
        Returns:
        The value of the message parameter to the constructor.

© Copyright IBM Corporation 2006, 2019. All rights reserved.