com.filenet.api.constants
Class DocClassificationStatus
- java.lang.Object
-
- com.filenet.api.constants.DocClassificationStatus
-
- All Implemented Interfaces:
- java.io.Serializable
public final class DocClassificationStatus extends java.lang.Object implements java.io.SerializableProvides a set of constants that specify the auto-classification status of a document. These constants are used in conjunction with the ClassificationStatus property to provide client applications a means of discovering whether a particular document is subject to auto-classification, and if so, whether or not the operation was successful.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static DocClassificationStatusCLASSIFICATION_COMPLETESpecifies that auto-classification of the document has completed successfully.static intCLASSIFICATION_COMPLETE_AS_INTAnintvalue associated with the CLASSIFICATION_COMPLETE instance of this class.static DocClassificationStatusCLASSIFICATION_FAILEDSpecifies that auto-classification of the document has failed.static intCLASSIFICATION_FAILED_AS_INTAnintvalue associated with the CLASSIFICATION_FAILED instance of this class.static DocClassificationStatusCLASSIFICATION_PENDINGSpecifies that a request for auto-classification of the document is pending.static intCLASSIFICATION_PENDING_AS_INTAnintvalue associated with the CLASSIFICATION_PENDING instance of this class.static DocClassificationStatusNOT_CLASSIFIEDSpecifies that auto-classification of the document has not been requested.static intNOT_CLASSIFIED_AS_INTAnintvalue associated with the NOT_CLASSIFIED instance of this class.
-
Method Summary
Methods Modifier and Type Method and Description static DocClassificationStatusgetInstanceFromInt(int value)Returns an instance of this class using its associated integer value.intgetValue()Returns the internal integer value associated with a specific instance of this class.java.lang.StringtoString()Returns aStringrepresentation of this enumeration instance.
-
-
-
Field Detail
-
NOT_CLASSIFIED_AS_INT
public static final int NOT_CLASSIFIED_AS_INT
Anintvalue associated with the NOT_CLASSIFIED instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
NOT_CLASSIFIED
public static final DocClassificationStatus NOT_CLASSIFIED
Specifies that auto-classification of the document has not been requested. This value is set automatically by the server when you check in a document and set itscheckinmethod'sautoClassifyparameter toDO_NOT_AUTO_CLASSIFY.
-
CLASSIFICATION_FAILED_AS_INT
public static final int CLASSIFICATION_FAILED_AS_INT
Anintvalue associated with the CLASSIFICATION_FAILED instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
CLASSIFICATION_FAILED
public static final DocClassificationStatus CLASSIFICATION_FAILED
Specifies that auto-classification of the document has failed.
-
CLASSIFICATION_COMPLETE_AS_INT
public static final int CLASSIFICATION_COMPLETE_AS_INT
Anintvalue associated with the CLASSIFICATION_COMPLETE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
CLASSIFICATION_COMPLETE
public static final DocClassificationStatus CLASSIFICATION_COMPLETE
Specifies that auto-classification of the document has completed successfully.
-
CLASSIFICATION_PENDING_AS_INT
public static final int CLASSIFICATION_PENDING_AS_INT
Anintvalue associated with the CLASSIFICATION_PENDING instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
CLASSIFICATION_PENDING
public static final DocClassificationStatus CLASSIFICATION_PENDING
Specifies that a request for auto-classification of the document is pending. This value is automatically set by the server when you check in a document and set itscheckinmethod'sautoClassifyparameter toAUTO_CLASSIFY.
-
-
Method Detail
-
getValue
public int getValue()
Returns the internal integer value associated with a specific instance of this class.- Returns:
- The enumeration instance's ordinal value.
- See Also:
getInstanceFromInt(int)
-
toString
public java.lang.String toString()
Returns aStringrepresentation of this enumeration instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- The enumeration instance's description.
-
getInstanceFromInt
public static DocClassificationStatus getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.- Parameters:
value- The integer value. (See the *_AS_INT fields.)- Returns:
- The enumeration instance with the given ordinal value.
- Throws:
EngineRuntimeException- If an enumeration instance with the given ordinal value does not exist.- See Also:
getValue()
-
-