public static class GitConfigSourceBuilder.GitEndpoint
extends java.lang.Object
Holds attributes necessary to get a configuration from a remote Git repository.
| Constructor | Description |
|---|---|
GitEndpoint(java.net.URI uri,
java.lang.String branch,
java.nio.file.Path directory,
java.lang.String path) |
Creates a descriptor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getBranch() |
Returns a git branch.
|
java.nio.file.Path |
getDirectory() |
Returns a local git directory.
|
java.lang.String |
getPath() |
Returns a relative path to the configuration file.
|
java.net.URI |
getUri() |
Returns a remote git repository uri.
|
public GitEndpoint(java.net.URI uri,
java.lang.String branch,
java.nio.file.Path directory,
java.lang.String path)
uri - a remote git repository uribranch - a git branchdirectory - a local git directorypath - a relative path to the configuration filepublic java.net.URI getUri()
public java.lang.String getBranch()
public java.nio.file.Path getDirectory()
public java.lang.String getPath()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.