All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jetbrains.plugin.structure.intellij.problems.remapping.RemappingSet.kt Maven / Gradle / Ivy

Go to download

Library for parsing JetBrains IDE plugins. Can be used to verify that plugin complies with the JetBrains Marketplace requirements.

There is a newer version: 3.290
Show newest version
package com.jetbrains.plugin.structure.intellij.problems.remapping

enum class RemappingSet(val id: String) {
  JETBRAINS_PLUGIN_REMAPPING_SET("jetbrains-plugin"),
  EXISTING_PLUGIN_REMAPPING_SET("existing-plugin"),
  NEW_PLUGIN_REMAPPING_SET("new-plugin"),
  CLI_IGNORED("cli-ignored");

  companion object {
    fun fromId(id: String): RemappingSet {
      return values().firstOrNull { it.id == id }
        ?: throw IllegalArgumentException("Unknown remapping set id: $id")
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy