com.filenet.api.engine
Class SweepItemOutcome
- java.lang.Object
-
- com.filenet.api.engine.SweepItemOutcome
-
- All Implemented Interfaces:
- java.io.Serializable
public class SweepItemOutcome extends java.lang.Object implements java.io.SerializableThe processing outcome of aSweepItemobject by aSweepActionHandlerimplementation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static SweepItemOutcomeFAILEDSpecifies that the object failed during processing, the object is eligible for retry.static SweepItemOutcomeFAILED_NO_RETRYSpecifies that the object failed during processing, and that the object is not eligible for retry (fatal, non-recoverable error was detected).static SweepItemOutcomeIGNOREDSpecifies that the object was ignored by the SweepActionHandler, the handler may have filtered the object out, or may have failed before processing the object.static SweepItemOutcomePROCESSEDSpecifies that the object was successfully processed by the SweepActionHandler.
-
Method Summary
Methods Modifier and Type Method and Description static SweepItemOutcomegetInstanceFromInt(int value)Gets an instance of this class using its associated integer value (the*_AS_INTfields).intgetValue()Returns an integer value associated with a specific instance of this class.java.lang.StringtoString()Returns aStringrepresentation of this instance.
-
-
-
Field Detail
-
IGNORED
public static final SweepItemOutcome IGNORED
Specifies that the object was ignored by the SweepActionHandler, the handler may have filtered the object out, or may have failed before processing the object.
-
PROCESSED
public static final SweepItemOutcome PROCESSED
Specifies that the object was successfully processed by the SweepActionHandler.
-
FAILED
public static final SweepItemOutcome FAILED
Specifies that the object failed during processing, the object is eligible for retry.
-
FAILED_NO_RETRY
public static final SweepItemOutcome FAILED_NO_RETRY
Specifies that the object failed during processing, and that the object is not eligible for retry (fatal, non-recoverable error was detected).
-
-
Method Detail
-
getValue
public int getValue()
Returns an integer value associated with a specific instance of this class.- Returns:
- An integer representing a specific instance of this class.
-
getInstanceFromInt
public static SweepItemOutcome getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the*_AS_INTfields).- Parameters:
value- An integer representing a particular static instance of this class.- Returns:
- The referenced
SweepItemOutcomeinstance. - Throws:
- Thrown when theEngineRuntimeExceptionvalueparameter isnullor invalid.
-
toString
public java.lang.String toString()
Returns aStringrepresentation of this instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- A
Stringrepresenting the instance.
-
-