public static class GitConfigSourceBuilder.GitEndpoint extends Object
Holds attributes necessary to get a configuration from a remote Git repository.
| Constructor and Description |
|---|
GitEndpoint(URI uri,
String branch,
Path directory,
String path)
Creates a descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
branch()
Returns a git branch.
|
Path |
directory()
Returns a local git directory.
|
String |
path()
Returns a relative path to the configuration file.
|
URI |
uri()
Returns a remote git repository uri.
|
public URI uri()
public String branch()
public Path directory()
public String path()
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.