Verified Owner
Top Fields Constructors Methods
org.jabref.languageserver.cli

public Class ServerCli

extends Object
implements Callable<Void>
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Callable
Annotations
@org.jabref.architecture.AllowedToUseStandardStreams
@Command
name:languageserver
mixinStandardHelpOptions:true
description:JabLS - JabRef LanguageServer
Imports
java.util.concurrent.Callable, org.jabref.architecture.AllowedToUseStandardStreams, org.jabref.languageserver.LspLauncher, org.jabref.logic.preferences.JabRefCliPreferences, org.slf4j.Logger, .LoggerFactory, org.slf4j.bridge.SLF4JBridgeHandler, picocli.CommandLine

Field Summary

Modifier and TypeField and Description
private static final Logger
private Integer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Void
call()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

public static void
main(final String[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGGERback to summary
private static final Logger LOGGER
portback to summary
private Integer port
Annotations
@Option
names:-p, --port
description:the port

Constructor Detail

ServerCliback to summary
public ServerCli()

Method Detail

callback to summary
public Void call() throws InterruptedException

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Annotations
@Override
mainback to summary
public static void main(final String[] args) throws InterruptedException

Implementation Note

method needs to be public, because JabLsLauncher calls it.