Class LanguageServerConfiguration
java.lang.Object
com.github._1c_syntax.bsl.languageserver.configuration.LanguageServerConfiguration
Корневой класс конфигурации BSL Language Server.
В обычном режиме работы провайдеры и прочие классы могут расчитывать на единственность объекта конфигурации и безопасно сохранять ссылку на конфигурацию или ее части.
-
Constructor Summary
ConstructorsConstructorDescriptionLanguageServerConfiguration(Language language, DiagnosticsOptions diagnosticsOptions, CodeLensOptions codeLensOptions, DocumentLinkOptions documentLinkOptions, String siteRoot, boolean useDevSite, File traceLog, Path configurationRoot, File configurationFile)
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
static Path
getCustomConfigurationRoot(LanguageServerConfiguration configuration, Path srcDir)
int
hashCode()
boolean
void
reset()
void
setConfigurationRoot(Path configurationRoot)
void
setLanguage(Language language)
void
setSiteRoot(String siteRoot)
void
setTraceLog(File traceLog)
void
setUseDevSite(boolean useDevSite)
toString()
void
-
Constructor Details
-
LanguageServerConfiguration
@ConstructorProperties({"language","diagnosticsOptions","codeLensOptions","documentLinkOptions","siteRoot","useDevSite","traceLog","configurationRoot","configurationFile"}) public LanguageServerConfiguration(Language language, DiagnosticsOptions diagnosticsOptions, CodeLensOptions codeLensOptions, DocumentLinkOptions documentLinkOptions, String siteRoot, boolean useDevSite, @Nullable File traceLog, @Nullable Path configurationRoot, File configurationFile) -
LanguageServerConfiguration
public LanguageServerConfiguration()
-
-
Method Details
-
update
-
reset
public void reset() -
getCustomConfigurationRoot
public static Path getCustomConfigurationRoot(LanguageServerConfiguration configuration, Path srcDir) -
getLanguage
-
getDiagnosticsOptions
-
getCodeLensOptions
-
getDocumentLinkOptions
-
getSiteRoot
-
isUseDevSite
public boolean isUseDevSite() -
getTraceLog
-
getConfigurationRoot
-
getConfigurationFile
-
setLanguage
-
setSiteRoot
-
setUseDevSite
public void setUseDevSite(boolean useDevSite) -
setTraceLog
-
setConfigurationRoot
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-