com.ibm.task.api

Interface TaskModel

  • All Superinterfaces:
    java.io.Serializable


    public interface TaskModel
    extends java.io.Serializable
    Wraps task instances and templates that are created spontaneously. These instances and templates are also called ad-hoc tasks and ad-hoc templates.
    Since:
    6.0.1
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      TTask getTTask()
      Returns the wrapped object, either a task instance or a task template that has been created ad-hoc.
      ValidationProblem[] validate()
      Validates the wrapped object, either a task instance or a task template that has been created ad-hoc.
    • Method Detail

      • getTTask

        TTask getTTask()
        Returns the wrapped object, either a task instance or a task template that has been created ad-hoc.
        Returns:
        TTask - The wrapped object. Returns null when no object is wrapped.
      • validate

        ValidationProblem[] validate()
        Validates the wrapped object, either a task instance or a task template that has been created ad-hoc.
        Returns:
        ValidationProblem[] - an array of ValidationProblem objects that contain detailed information about problems found during validation - refer to ValidationProblem. Returns an empty array when no problems are found.
IBM Business Process ManagerTM
Release 8