java.lang.Object
io.helidon.config.git.GitConfigSourceBuilder.GitEndpoint
- Enclosing class:
- GitConfigSourceBuilder
Git source endpoint descriptor.
Holds attributes necessary to get a configuration from a remote Git repository.
-
Constructor Summary
ConstructorDescriptionGitEndpoint
(URI uri, String branch, Path directory, String path, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider) Creates a descriptor. -
Method Summary
-
Constructor Details
-
GitEndpoint
public GitEndpoint(URI uri, String branch, Path directory, String path, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider) Creates a descriptor.- Parameters:
uri
- a remote git repository uribranch
- a git branchdirectory
- a local git directorypath
- a relative path to the configuration filecredentialsProvider
- a credentials provider
-
-
Method Details
-
uri
Returns a remote git repository uri.- Returns:
- a remote git repository uri
-
branch
Returns a git branch.- Returns:
- a git branch
-
directory
Returns a local git directory.- Returns:
- a local git directory
-
path
Returns a relative path to the configuration file.- Returns:
- a relative path to the configuration file
-
credentialsProvider
public org.eclipse.jgit.transport.CredentialsProvider credentialsProvider()Returns an instance ofCredentialsProvider
.- Returns:
- credentials provider instance
-