
gitbucket.core.api.ApiPlugin.scala Maven / Gradle / Ivy
package gitbucket.core.api
import gitbucket.core.plugin.PluginInfo
case class ApiPlugin(
id: String,
name: String,
version: String,
description: String,
jarFileName: String
)
object ApiPlugin {
def apply(plugin: PluginInfo): ApiPlugin = {
ApiPlugin(plugin.pluginId, plugin.pluginName, plugin.pluginVersion, plugin.description, plugin.pluginJar.getName)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy