com.ibm.commerce.context.task
Interface TaskContext
-
-
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.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.String
getTask()
This method returns the task of the current task context.java.lang.String
getTaskGroup()
This method returns the task group of the current task context.void
setTask(java.lang.String task)
This method sets the task for the current task context.void
setTaskGroup(java.lang.String taskGroup)
This method sets the task group for the current task context.-
Methods inherited from interface com.ibm.commerce.context.base.Context
copyContext, getActivityToken, getContextName, validate
-
-
-
-
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.
-
-