public class WorkUnit extends Object
| Constructor and Description |
|---|
WorkUnit(Object aPayload)
Instantiates a new work unit.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get()
Gets the.
|
org.apache.uima.cas.CAS[] |
getCas()
Gets the cas.
|
boolean |
isTimedOut()
Checks if is timed out.
|
void |
setCas(org.apache.uima.cas.CAS[] aCas)
Sets the cas.
|
void |
setTimedOut()
Sets the timed out.
|
public WorkUnit(Object aPayload)
aPayload - the a payloadpublic Object get()
public void setCas(org.apache.uima.cas.CAS[] aCas)
aCas - the new caspublic org.apache.uima.cas.CAS[] getCas()
public void setTimedOut()
public boolean isTimedOut()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.