Class WorkUnit
java.lang.Object
org.apache.uima.collection.impl.cpm.engine.WorkUnit
The Class WorkUnit.
-
Constructor Details
-
WorkUnit
Instantiates a new work unit.- Parameters:
aPayload
- the a payload
-
-
Method Details
-
get
Gets the.- Returns:
- the object
-
setCas
Sets the cas.- Parameters:
aCas
- the new cas
-
getCas
Gets the cas.- Returns:
- the cas
-
setTimedOut
public void setTimedOut()Sets the timed out. -
isTimedOut
public boolean isTimedOut()Checks if is timed out.- Returns:
- true, if is timed out
-