Interface PluginsRepository

    • Method Detail

      • isEnabled

        boolean isEnabled()
      • getServerUrl

        @NotNull
        String getServerUrl()
      • getServerUUID

        @Nullable
        String getServerUUID()
      • getServerBuildNumber

        @NotNull
        String getServerBuildNumber()
      • getServerLicensingMode

        @NotNull
        String getServerLicensingMode()
      • installPlugin

        void installPlugin​(@NotNull
                           File pluginArchiveFile,
                           @NotNull
                           String pluginArchiveName,
                           @NotNull
                           PluginSignatureVerifier.CertificateType certificateType)
                    throws IOException
        Installs a plugin from a plugin archive file with the specified archive name.
        Parameters:
        pluginArchiveFile - The file object representing the plugin archive file.
        pluginArchiveName - The name of the plugin archive (this name will be used in TeamCity's plugins/ directory).
        certificateType -
        Throws:
        IOException - If an I/O error occurs during the installation process.
      • checkUpdatesEnabled

        boolean checkUpdatesEnabled()
      • setCheckUpdates

        void setCheckUpdates​(boolean checkUpdates)
      • checkPluginUpdates

        void checkPluginUpdates​(boolean force)
        Parameters:
        force - if true, plugin list will be re-checked even if getUpdatedPlugins() returns empty list