case class PluginDescriptor(id: String, vendor: String, name: String, version: String, sinceBuild: String, untilBuild: String, dependsOn: Seq[Dependency] = Seq.empty) extends Product with Serializable
Represents data located in plugin.xml file
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PluginDescriptor
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PluginDescriptor(id: String, vendor: String, name: String, version: String, sinceBuild: String, untilBuild: String, dependsOn: Seq[Dependency] = Seq.empty)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val dependsOn: Seq[Dependency]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge(other: PluginDescriptor): PluginDescriptor
This method merges descriptors loaded from multiple files.
This method merges descriptors loaded from multiple files.
Most of the plugins keep all information in single file
plugin.xml(id, name, sinceBuild, etc...)
However some plugins can keep this information in multiple files. For example, "Code With Me" has different implementations for IDEA and Rider. They keep common parts inpluginBase.xml(like id, name, vendor) and other parts (IDE-specific) inplugin.xmlfile.Alternative approach could be to truely resolve all "include" directives in
plugin.xml, like:<xi:include href="/META-INF/pluginBase.xml" xpointer="xpointer(/idea-plugin/)" />
However it would require more changes in existing sbt-idea-plugin code and it could be too much.
- 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()
- val sinceBuild: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toXMLStr: String
- val untilBuild: String
- val vendor: String
- val version: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()