Class MTask


  • public class MTask
    extends MActivity
    Class representing a task activity.
    • Field Detail

      • TASK

        public static final java.lang.String TASK
        The activity type for tasks.
        See Also:
        Constant Field Values
      • TASK_SUBTYPE_NONE

        public static final java.lang.String TASK_SUBTYPE_NONE
        The default unspecified task.
        See Also:
        Constant Field Values
      • tasktype

        protected java.lang.String tasktype
        The task type.
    • Constructor Detail

      • MTask

        public MTask()
    • Method Detail

      • getActivityType

        public java.lang.String getActivityType()
        Hard-code the activity type.
        Overrides:
        getActivityType in class MActivity
        Returns:
        The activity type.
      • getTaskType

        public java.lang.String getTaskType()
        Returns the task type.
        Returns:
        The task type.
      • setTasktype

        public void setTasktype​(java.lang.String tasktype)
        Sets the task type.
        Parameters:
        tasktype - The task type.