Class GitResource.GitAnyResource

java.lang.Object
ch.kk7.confij.source.resource.GitResource.GitAnyResource
All Implemented Interfaces:
ch.kk7.confij.source.any.ConfijAnyResource
Enclosing class:
GitResource

@AutoService(ch.kk7.confij.source.any.ConfijAnyResource.class)
public static class GitResource.GitAnyResource
extends java.lang.Object
implements ch.kk7.confij.source.any.ConfijAnyResource
  • Constructor Summary

    Constructors
    Constructor Description
    GitAnyResource()  
  • Method Summary

    Modifier and Type Method Description
    protected org.eclipse.jgit.transport.CredentialsProvider getCredentialsProvider​(java.lang.String remoteUrl)  
    java.util.Optional<GitResource> maybeHandle​(java.lang.String path)  
    protected GitResource.GitSettings uriToGitSettings​(java.lang.String pathTemplate)  

    Methods inherited from class java.lang.Object

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

    • GitAnyResource

      public GitAnyResource()
  • Method Details

    • maybeHandle

      public java.util.Optional<GitResource> maybeHandle​(java.lang.String path)
      Specified by:
      maybeHandle in interface ch.kk7.confij.source.any.ConfijAnyResource
    • uriToGitSettings

      protected GitResource.GitSettings uriToGitSettings​(java.lang.String pathTemplate)
    • getCredentialsProvider

      protected org.eclipse.jgit.transport.CredentialsProvider getCredentialsProvider​(java.lang.String remoteUrl)