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

com.jetbrains.pluginverifier.dymamic.DynamicPluginStatus.kt Maven / Gradle / Ivy

Go to download

JetBrains Plugin Verifier Classes for IntelliJ Platform integration with API usage detection and reporting.

There is a newer version: 1.381
Show newest version
/*
 * Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
 */

package com.jetbrains.pluginverifier.dymamic

/**
 * Whether the IntelliJ plugin can be enabled/disabled without IDE restart
 * See: https://plugins.jetbrains.com/docs/intellij/dynamic-plugins.html
 */
sealed class DynamicPluginStatus {

  abstract val reasonsNotToLoadUnloadWithoutRestart: Set

  object MaybeDynamic : DynamicPluginStatus() {
    override val reasonsNotToLoadUnloadWithoutRestart
      get() = emptySet()
  }

  data class NotDynamic(override val reasonsNotToLoadUnloadWithoutRestart: Set) : DynamicPluginStatus()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy