Interface ScmProviderHttpServletDecoratorFactory

All Superinterfaces:
DecoratorFactory<ScmProviderHttpServlet>

@ExtensionPoint public interface ScmProviderHttpServletDecoratorFactory extends DecoratorFactory<ScmProviderHttpServlet>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Has to return true if this factory provides a decorator for the given scm type (e.g.

    Methods inherited from interface sonia.scm.DecoratorFactory

    createDecorator
  • Method Details

    • handlesScmType

      boolean handlesScmType(String type)
      Has to return true 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.