* fixed error columns are not saved to database correctly * implemented setting JRE System Library paths in app settings * added detector for JRE System Library that not use Java Runtime specified in AppSettings but detects JRE on its own by reusing the JavaPathDetector. * added option to use JRE System Library in JavaSourceGroup
50 lines
1.5 KiB
C++
50 lines
1.5 KiB
C++
#ifndef SOURCE_GROUP_SETTINGS_JAVA_H
|
|
#define SOURCE_GROUP_SETTINGS_JAVA_H
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include "settings/SourceGroupSettings.h"
|
|
|
|
class SourceGroupSettingsJava
|
|
: public SourceGroupSettings
|
|
{
|
|
public:
|
|
SourceGroupSettingsJava(const std::string& id, SourceGroupType type, const ProjectSettings* projectSettings);
|
|
virtual ~SourceGroupSettingsJava();
|
|
|
|
virtual bool equals(std::shared_ptr<SourceGroupSettings> other) const;
|
|
|
|
virtual std::vector<std::string> getAvailableLanguageStandards() const;
|
|
|
|
bool getUseJreSystemLibrary() const;
|
|
void setUseJreSystemLibrary(bool useJreSystemLibrary);
|
|
|
|
std::vector<FilePath> getClasspath() const;
|
|
std::vector<FilePath> getClasspathExpandedAndAbsolute() const;
|
|
void setClasspath(const std::vector<FilePath>& classpath);
|
|
|
|
FilePath getMavenProjectFilePath() const;
|
|
FilePath getMavenProjectFilePathExpandedAndAbsolute() const;
|
|
void setMavenProjectFilePath(const FilePath& path);
|
|
|
|
FilePath getMavenDependenciesDirectory() const;
|
|
FilePath getMavenDependenciesDirectoryExpandedAndAbsolute() const;
|
|
void setMavenDependenciesDirectory(const FilePath& path);
|
|
|
|
bool getShouldIndexMavenTests() const;
|
|
void setShouldIndexMavenTests(bool value);
|
|
|
|
private:
|
|
virtual std::vector<std::string> getDefaultSourceExtensions() const;
|
|
virtual std::string getDefaultStandard() const;
|
|
|
|
bool m_useJreSystemLibrary;
|
|
std::vector<FilePath> m_classpath;
|
|
FilePath m_mavenProjectFilePath;
|
|
FilePath m_mavenDependenciesDirectory;
|
|
bool m_shouldIndexMavenTests;
|
|
};
|
|
|
|
#endif // SOURCE_GROUP_SETTINGS_JAVA_H
|