Interface Repository

    • Method Detail

      • getKey

        @NotNull
        @NotNull String getKey()
        Deprecated.
        The full complete plugin key for the repo
        Returns:
      • getShortKey

        @NotNull
        @NotNull String getShortKey()
        Deprecated.
        The mini key from the plugin (should not contain plugin prefix)
        Returns:
      • getHost

        String getHost()
        Deprecated.
        What's the repository server host
        Returns:
        The host!
      • getLocationIdentifier

        @NotNull
        @NotNull String getLocationIdentifier()
        Deprecated.
        A string representing the location of the repository
        Returns:
      • checkConnection

        @NotNull
        @Deprecated
        @NotNull ErrorCollection checkConnection()
        Deprecated.
        since 5.10: repositories that support connection testing should implement TestConnectionAwareRepository instead
        This method internally validates the current connection for the repository. Usually the same as running validate
        Returns:
        ErrorCollection must not be null. The errors should be translated to error messages, rather than field errors.
      • getMinimalEditHtml

        @Nullable
        @Nullable String getMinimalEditHtml​(@NotNull
                                            @NotNull BuildConfiguration buildConfiguration)
        Deprecated.
        Returns HTML for the minimal configuration of the repository. i.e. the basic config required to get it working.
        Parameters:
        buildConfiguration - BuildConfiguration object
        Returns:
        HTML for the minimal configuration of the repository