case class Plugin(name: String, sha256: String, command: String, builtin: Boolean = false, args: Array[String] = Array.empty, env: Array[String] = Array.empty) extends Product with Serializable
- name
the name is what is used to look up plugins in the catalog.
- sha256
the SHA256 sum of the plugin's binary. Before a plugin is run it's SHA will be checked against this value, if they do not match the plugin can not be run.
- command
the command used to execute the plugin. This is relative to the plugin directory. e.g. "myplugin".
- args
the arguments used to execute the plugin. If the arguments are provided here, the command parameter should only contain the named program. e.g. "--my_flag=1".
- env
the environment variables used during the execution of the plugin. Each entry is of the form "key=value". e.g "FOO=BAR".
- Source
- Plugin.scala
- Alphabetic
- By Inheritance
- Plugin
- Serializable
- Product
- Equals
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Plugin(name: String, sha256: String, command: String, builtin: Boolean = false, args: Array[String] = Array.empty, env: Array[String] = Array.empty)
- name
the name is what is used to look up plugins in the catalog.
- sha256
the SHA256 sum of the plugin's binary. Before a plugin is run it's SHA will be checked against this value, if they do not match the plugin can not be run.
- command
the command used to execute the plugin. This is relative to the plugin directory. e.g. "myplugin".
- args
the arguments used to execute the plugin. If the arguments are provided here, the command parameter should only contain the named program. e.g. "--my_flag=1".
- env
the environment variables used during the execution of the plugin. Each entry is of the form "key=value". e.g "FOO=BAR".
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (Plugin, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val args: Array[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val builtin: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val command: String
- def ensuring(cond: (Plugin) => Boolean, msg: => Any): Plugin
- def ensuring(cond: (Plugin) => Boolean): Plugin
- def ensuring(cond: Boolean, msg: => Any): Plugin
- def ensuring(cond: Boolean): Plugin
- val env: Array[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sha256: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
Deprecated Value Members
- def →[B](y: B): (Plugin, B)
- Implicit
- This member is added by an implicit conversion from Plugin toArrowAssoc[Plugin] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.