Interface NamespaceStrategy


@ExtensionPoint public interface NamespaceStrategy
Strategy to create a namespace for the new repository. Namespaces are used to order and identify repositories.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Checks if the namespace can be changed when using this namespace strategy
    Create new namespace for the given repository.
  • Method Details

    • createNamespace

      String createNamespace(Repository repository)
      Create new namespace for the given repository.
    • canBeChanged

      default boolean canBeChanged()
      Checks if the namespace can be changed when using this namespace strategy
      Returns:
      namespace can be changed