java.lang.Object
org.apache.uima.collection.impl.cpm.engine.WorkUnit

public class WorkUnit extends Object
The Class WorkUnit.
  • Constructor Details

    • WorkUnit

      public WorkUnit(Object aPayload)
      Instantiates a new work unit.
      Parameters:
      aPayload - the a payload
  • Method Details

    • get

      public Object get()
      Gets the.
      Returns:
      the object
    • setCas

      public void setCas(CAS[] aCas)
      Sets the cas.
      Parameters:
      aCas - the new cas
    • getCas

      public 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