Package sonia.scm.repository
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 TypeMethodDescriptiondefault boolean
Checks if the namespace can be changed when using this namespace strategycreateNamespace
(Repository repository) Create new namespace for the given repository.
-
Method Details
-
createNamespace
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
-