plainbox.impl.applogic – application logic

Warning

THIS MODULE DOES NOT HAVE STABLE PUBLIC API

class plainbox.impl.applogic.PlainBoxConfig[source]

Configuration for PlainBox itself

class Meta[source]
section_list = [<plainbox.impl.secure.config.Section object at 0x5681df4c>]
variable_list = [<Variable name:'welcome_text'>, <Variable name:'default_provider'>]
PlainBoxConfig.default_provider

Name of the default provider to use

PlainBoxConfig.environment

Environment variables for scripts and jobs

PlainBoxConfig.welcome_text

Welcome text to display prior to test selection/execution

plainbox.impl.applogic.get_matching_job_list(job_list, qualifier)[source]

Get a list of jobs that are designated by the specified qualifier.

This is intended to be used with CompositeQualifier but works with any IJobQualifier subclass.

plainbox.impl.applogic.get_whitelist_by_name(provider_list, desired_whitelist)[source]

Get the first whitelist matching desired_whitelist from the loaded providers

plainbox.impl.applogic.run_job_if_possible(session, runner, config, job, update=True)[source]

Coupling point for session, runner, config and job

Returns:(job_state, job_result)

Previous topic

plainbox.impl – implementation package

Next topic

plainbox.impl.box – command line interface

This Page