1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef JAVAPARAM_H
6#define JAVAPARAM_H
7
8
9#include <QObject>
10
11class JavaParam : public QObject
12{
13 Q_OBJECT
14public:
15 explicit JavaParam(QObject *parent = nullptr);
16 virtual ~JavaParam() override;
17
18 QString getInitBackendParam(const QString &port,
19 const QString &javaPath,
20 const QString &launcherPath,
21 const QString &heapDumpPath,
22 const QString &configLinuxPath,
23 const QString &dataPath);
24 QString getLSPInitParam(const int requestId,
25 const int pid,
26 const QString &workspace,
27 const QString &jdkHome,
28 const QString &debugJar);
29 QString getLSPInitilizedParam(const int requestId);
30 QString getLaunchJavaDAPParam(const int requestId);
31 QString getResolveMainClassParam(const int requestId,
32 const QString &workspace);
33 QString getResolveClassPathParam(const int requestId,
34 const QString &mainClass,
35 const QString &projectName);
36
37signals:
38
39public slots:
40private:
41
42};
43
44#endif // JAVAPARAM_H
45