ape.plugins.dummyplugin.StuckDummy

class ape.plugins.dummyplugin.StuckDummy(*args, **kwargs)

A plugin to test the infrastructure by hanging

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)
fetch_config() prints a message saying there is no configuration
help([width]) Prints a help-string for the plugin
log_error(error[, message]) Logs the error in bold red

Attributes

help_page A HelpPage to use if self.sections has been defined
logger
return:A logging object.
product builds and returns a HangingDummy
sections An ordered dict for the help page
fetch_config()

prints a message saying there is no configuration

help(width=80)

Prints a help-string for the plugin

Param:
  • width: number of characters wide to print help
log_error(error, message='')

Logs the error in bold red

Param:
  • error: error type (prefix in red and bold)
  • message: descriptive message (red but not bold)
config_builder

Stuck Dummy Configuration

help_page

A HelpPage to use if self.sections has been defined

logger
Returns:A logging object.
product

builds and returns a HangingDummy

Precondition:self.configuration map has been set
sections

An ordered dict for the help page

Navigation