summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypeCandidate.py
blob: 929ec4f864a27dd2bc6d18889a14c8401d770555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from sdcBePy.common.helpers import check_arguments_not_none


class NormativeTypeCandidate:

    def __init__(self, file_dir, normative_types_list):
        if not check_arguments_not_none(file_dir, normative_types_list):
            raise AttributeError("The file_dir, normative_types_list are missing")

        self.file_dir = file_dir
        self.normative_types_list = normative_types_list

    def get_parameters(self):
        return self.file_dir, self.normative_types_list