org.sandev.TaskHeap.structs
Class TaskTypeStruct

java.lang.Object
  extended byorg.sandev.TaskHeap.structs.TaskTypeStruct
Direct Known Subclasses:
TaskType

public class TaskTypeStruct
extends java.lang.Object

Describes a task type classification. Tasks can be divided into types based on the organizational needs of the heap. By default, TaskHeap includes the "development" and "bug" task types. For additional classifications, create additional TaskType instances.

It is recommended that the number of TaskType instances in a heap be kept to a minimum (preferably fewer than 7 types), for the heap to remain useful to users. Classification tends to degrade in quality with each additional defined type. Defining types to support search is NOT recommended since it leads to a proliferation of types and degradation of the heap. To support search markers, use keyword abbreviations in the task or plan name instead.

This message is persistent.
This message is a tree of values.
summary fields: name
This message has the following verb forms: update query collection history

Field Summary
protected  java.lang.String description
          A description of this type of task.
protected  java.lang.String name
          An intuitive name for this task type.
protected  long[] phases
          A TaskType has allowable phases associated with it.
 
Constructor Summary
TaskTypeStruct()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
An intuitive name for this task type. The name should be suitable for display in a drop-down box or other multiple choice UI paradigm. Some typical examples might include development, techEval, bugFix, issue etc.

the values for this field are unique.
declared invalid value: "TASKHEAP_INVALID_TASKTYPE_NAME"
Length in characters, normal: 15 max: 40

description

protected java.lang.String description
A description of this type of task. The description typically includes general guidelines, links to additional documents, expectations, responsibilities, and other information necessary for a resource working on a task.

declared default value: ""
declared invalid value: "TASKHEAP_INVALID_TASKTYPE_DESCRIPTION"
Length in characters, normal: 512 max: 1048576

phases

protected long[] phases
A TaskType has allowable phases associated with it. The phases are specific to each type instance because what happens between "pending" and "complete" (or whatever the your endpoint phases are) varies with the type of task.

The ordering of entries in the phase array is the same order shown in the display, but does not imply any specific workflow or phase transition verification. It is the responsibility of the TaskHeap users to observe workgroup conventions when modifying the status of task.

reference to class: org.sandev.TaskHeap.structs.TaskPhaseStruct
Constructor Detail

TaskTypeStruct

public TaskTypeStruct()