1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef MAVENBUILDERGENERATOR_H
6#define MAVENBUILDERGENERATOR_H
7
8#include "services/builder/buildergenerator.h"
9
10class MavenBuilderGeneratorPrivate;
11class MavenBuilderGenerator : public dpfservice::BuilderGenerator
12{
13 Q_OBJECT
14public:
15 explicit MavenBuilderGenerator();
16 virtual ~MavenBuilderGenerator() override;
17
18 static QString toolKitName() { return "maven"; }
19
20 BuildCommandInfo getMenuCommand(const BuildMenuType buildMenuType, const dpfservice::ProjectInfo &projectInfo) override;
21 void appendOutputParser(std::unique_ptr<IOutputParser> &outputParser) override;
22 bool checkCommandValidity(const BuildCommandInfo &info, QString &retMsg) override;
23
24signals:
25
26private slots:
27
28private:
29
30 MavenBuilderGeneratorPrivate *const d;
31};
32
33#endif // MAVENBUILDERGENERATOR_H
34