Attach/add one :class:`GeneratorAction`.

        Warning:
            The order in which you add :class:`GeneratorAction` objects **is** important in case of conflicting :class:`GeneratorAction` objects:
            **only** the **first compatible** :class:`GeneratorAction` object will be used to generate the (source code) files.

def add_generator_action(self, action):
        """
        Attach/add one :class:`GeneratorAction`.

        Warning:
            The order in which you add :class:`GeneratorAction` objects **is** important in case of conflicting :class:`GeneratorAction` objects:
            **only** the **first compatible** :class:`GeneratorAction` object will be used to generate the (source code) files.
        """
        if not isinstance(action, GeneratorAction):
            raise RuntimeError('Can not add a none GeneratorAction object.')

        self.__generator_actions.append(action)