florath/rmtoo

View on GitHub
rmtoo/lib/configuration/DefaultValues.py

Summary

Maintainability
A
0 mins
Test Coverage
'''
 rmtoo
   Free and Open Source Requirements Management Tool

 Default values for the new configuration.

 (c) 2011,2017 by flonatel GmbH & Co. KG

 For licensing details see COPYING
'''
from rmtoo.lib.Constraints import Constraints


# pylint: disable=too-few-public-methods
class DefaultValues(object):
    '''This calls all the appropriate functions to set the
    default values.
    Instead of merging in here everything, the information
    is placed where it should be.'''

    def __init__(self):
        '''Hidden constructor for utility class.'''
        assert False

    @staticmethod
    def set_default_values(cfg):
        '''Calls the appropriate functions to set the default
           configuration values.'''
        Constraints.set_default_values(cfg)