com.ibm.commerce.context.task

Interface TaskContext

  • All Superinterfaces:
    Context, java.io.Serializable


    public interface TaskContext
    extends Context
    This class defines a context to represent a task.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String ACTIVITY_DATA_PARAM_TASK
      The activity data parameter that represents the task of the context.
      static java.lang.String ACTIVITY_DATA_PARAM_TASKGROUP
      The activity data parameter that represents the task group of the context.
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String NAME
      This is the name of the context.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        This is the name of the context.
      • ACTIVITY_DATA_PARAM_TASKGROUP

        static final java.lang.String ACTIVITY_DATA_PARAM_TASKGROUP
        The activity data parameter that represents the task group of the context.
        See Also:
        Constant Field Values
      • ACTIVITY_DATA_PARAM_TASK

        static final java.lang.String ACTIVITY_DATA_PARAM_TASK
        The activity data parameter that represents the task of the context.
        See Also:
        Constant Field Values
    • Method Detail

      • getTaskGroup

        java.lang.String getTaskGroup()
        This method returns the task group of the current task context.
        Returns:
        The task group.
      • getTask

        java.lang.String getTask()
        This method returns the task of the current task context.
        Returns:
        The task.
      • setTaskGroup

        void setTaskGroup(java.lang.String taskGroup)
        This method sets the task group for the current task context.
        Parameters:
        taskGroup - The task group.
      • setTask

        void setTask(java.lang.String task)
        This method sets the task for the current task context.
        Parameters:
        task - The task.