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
operation.validateContent
-
-
Constructor Summary
Constructors Constructor and Description ContentValidationResult(StorageDeviceHandler.ValidationStatus status, long actualSize, java.lang.String message)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description long
actualSize()
java.lang.String
message()
StorageDeviceHandler.ValidationStatus
status()
-
-
-
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
value according to the outcome of the operation.ValidationStatus
actualSize
- In an operation reporting either
orSUCCESS
gives the actual size in bytes of the content in the device.WRONG_SIZE
message
- An optional string value giving additional details of the outcome of the operation. Specifynull
if no additional details are available.
-
-
Method Detail
-
status
public StorageDeviceHandler.ValidationStatus status()
- Returns:
- The value of the status parameter to the constructor.
-
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.
-
-