Package sonia.scm.repository.spi
Interface ScmProviderHttpServletDecoratorFactory
- All Superinterfaces:
DecoratorFactory<ScmProviderHttpServlet>
@ExtensionPoint
public interface ScmProviderHttpServletDecoratorFactory
extends DecoratorFactory<ScmProviderHttpServlet>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handlesScmType
(String type) Has to returntrue
if this factory provides a decorator for the given scm type (e.g.Methods inherited from interface sonia.scm.DecoratorFactory
createDecorator
-
Method Details
-
handlesScmType
Has to returntrue
if this factory provides a decorator for the given scm type (e.g. "git", "hg" or "svn").- Parameters:
type
- The current scm type this factory can provide a decorator for.- Returns:
true
when the provided decorator should be used for the given scm type.
-