Package Task :: Module Base
[hide private]
[frames] | no frames]

Module Base

source code

Defines the base class for all Tasks.


Authors:
Peter Parente, Larry Weiss

Organization: IBM Corporation

Copyright: Copyright (c) 2005, 2007 IBM Corporation

License: The BSD License

All rights reserved. This program and the accompanying materials are made available under the terms of the BSD license which accompanies this distribution, and is available at http://www.opensource.org/licenses/bsd-license.php

Classes [hide private]
  Task
Most base class for all Tasks that execute in a Perk.
Functions [hide private]
 
registerTaskType(name, default)
Called once by every Task class to register itself for buffering and filtering by an AEMonitor.
source code
list of string
getDefaults()
Suggests the default Tasks to be monitored.
source code
list of string
getNames()
Gets the names of all the Task types.
source code
Variables [hide private]
  default_types = []
  all_types = []
Function Details [hide private]

registerTaskType(name, default)

source code 

Called once by every Task class to register itself for buffering and filtering by an AEMonitor.

Parameters:
  • name (string) - Name of the Task
  • default (boolean) - Should this Task be buffered by default?

getDefaults()

source code 

Suggests the default Tasks to be monitored.

Returns: list of string
Names of defaults to monitor

getNames()

source code 

Gets the names of all the Task types.

Returns: list of string
List of all Task names