case class ExtendedScalaMainClass(class: String, arguments: java.util.List[String], jvmOptions: java.util.List[String], environmentVariables: java.util.List[String], shellCommand: String) extends Product with Serializable
Wrapper around the bsp4j.ScalaMainClass to provide additional information which may be used by client.
For backward compatibility reasons, it provides the same fields as the bsp4j.ScalaMainClass, so it's safe for older clients to work without any change:
- class
the fully qualified name of the class
- arguments
the arguments to pass to the main method
- jvmOptions
the jvm options to pass to the jvm
- environmentVariables
the environment variables to pass to the process However, it also provides an additional field:
- shellCommand
which is the command to run in the shell to start the main class, it also allows client to distinguish between old, bsp4j.ScalaMainClass and new ExtendedScalaMainClass --- To sum up: - allow old clients to work without any change - allow new clients to use shellCommand to run the main class directly in e.g. terminal
- Alphabetic
- By Inheritance
- ExtendedScalaMainClass
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExtendedScalaMainClass(class: String, arguments: java.util.List[String], jvmOptions: java.util.List[String], environmentVariables: java.util.List[String], shellCommand: String)
- class
the fully qualified name of the class
- arguments
the arguments to pass to the main method
- jvmOptions
the jvm options to pass to the jvm
- environmentVariables
the environment variables to pass to the process However, it also provides an additional field:
- shellCommand
which is the command to run in the shell to start the main class, it also allows client to distinguish between old, bsp4j.ScalaMainClass and new ExtendedScalaMainClass --- To sum up: - allow old clients to work without any change - allow new clients to use shellCommand to run the main class directly in e.g. terminal
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arguments: java.util.List[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val class: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val environmentVariables: java.util.List[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jvmOptions: java.util.List[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val shellCommand: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)