com.filenet.api.engine
Enum StorageDeviceHandler.ValidationStatus
- java.lang.Object
-
- java.lang.Enum<StorageDeviceHandler.ValidationStatus>
-
- com.filenet.api.engine.StorageDeviceHandler.ValidationStatus
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StorageDeviceHandler.ValidationStatus>
- Enclosing interface:
- StorageDeviceHandler
public static enum StorageDeviceHandler.ValidationStatus extends java.lang.Enum<StorageDeviceHandler.ValidationStatus>
The result status of a content validation operation. Refer to the
method and thevalidateContent
class for further details.ContentValidationResult
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description FAILED
Indicates that the content validation operation incurred an unexpected failure.MISSING
Indicates that the content subject to validation was found to be missing.SUCCESS
Indicates that the specified content was validated successfully.WRONG_SIZE
Indicates that the content subject to validation was found to be of the wrong size.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static StorageDeviceHandler.ValidationStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StorageDeviceHandler.ValidationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final StorageDeviceHandler.ValidationStatus SUCCESS
Indicates that the specified content was validated successfully.
-
MISSING
public static final StorageDeviceHandler.ValidationStatus MISSING
Indicates that the content subject to validation was found to be missing.
-
WRONG_SIZE
public static final StorageDeviceHandler.ValidationStatus WRONG_SIZE
Indicates that the content subject to validation was found to be of the wrong size. The response indicates the size found.
-
FAILED
public static final StorageDeviceHandler.ValidationStatus FAILED
Indicates that the content validation operation incurred an unexpected failure.
-
-
Method Detail
-
values
public static StorageDeviceHandler.ValidationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StorageDeviceHandler.ValidationStatus c : StorageDeviceHandler.ValidationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageDeviceHandler.ValidationStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-