Class MinSourcesGitProvider

java.lang.Object
com.io7m.minisite.core.MinSourcesGitProvider
All Implemented Interfaces:
MinSourcesProviderType

public final class MinSourcesGitProvider
extends java.lang.Object
implements MinSourcesProviderType
A source provider for git repositories.
  • Constructor Summary

    Constructors
    Constructor Description
    MinSourcesGitProvider()
    Construct a provider.
  • Method Summary

    Modifier and Type Method Description
    org.w3c.dom.Element evaluate​(org.w3c.dom.Document document, MinSourcesConfiguration configuration)  
    java.lang.String system()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MinSourcesGitProvider

      public MinSourcesGitProvider()
      Construct a provider.
  • Method Details

    • system

      public java.lang.String system()
      Specified by:
      system in interface MinSourcesProviderType
      Returns:
      The type of SCM used
    • evaluate

      public org.w3c.dom.Element evaluate​(org.w3c.dom.Document document, MinSourcesConfiguration configuration)
      Specified by:
      evaluate in interface MinSourcesProviderType
      Parameters:
      document - The document
      configuration - The source configuration
      Returns:
      Evaluate the source section