Adding tasks to the task registry
Each subdirectory of this directory represents a Category:
ClusterCategory
FailoverPolicyCategory
MachineCategory
ResourceCategory
ResourceGroupCategory
ResourceTypeCategory
or a Task Group, which is a collection of tasks displayed together
in Task Manager:
BalanceLoadTaskGroup
ClusterTaskGroup
FailoverPolicyTaskGroup
LoggingTaskGroup
etc.
Within each of these subdirectories are files whose names
are the fully-qualified class names of tasks which are relevant
to the Category for that subdirectory. The contents of the
files are not used, so the files should be of 0 length.
When adding a task to a Category or Task Group, the Makefile for that
subdirectory needs to be updated.
Example: I'm adding the task "Delete Cluster" to the task registry.
I decide that it should go into the ClusterCategory directory. The
full name of the class that implements "Delete Cluster" is
com.sgi.fsmgr.task.DeleteClusterTask.
1. cd $WORKAREA/taskRegistry/ClusterCategory
2. touch com.sgi.fsmgr.task.DeleteClusterTask
3. p_modify -f com.sgi.fsmgr.task.DeleteClusterTask
4. p_modify Makefile
5. Edit Makefile, adding com.sgi.fsmgr.task.DeleteClusterTask
to the "TASKS" macro.
6. p_integrate
7. p_finalize