public class GitRepoVolume extends Object
| Constructor and Description |
|---|
GitRepoVolume() |
| Modifier and Type | Method and Description |
|---|---|
String |
directory()
Get target directory name.
|
String |
repository()
Get repository URL.
|
String |
revision()
Get commit hash for the specified revision.
|
GitRepoVolume |
withDirectory(String directory)
Set target directory name.
|
GitRepoVolume |
withRepository(String repository)
Set repository URL.
|
GitRepoVolume |
withRevision(String revision)
Set commit hash for the specified revision.
|
public String directory()
public GitRepoVolume withDirectory(String directory)
directory - the directory value to setpublic String repository()
public GitRepoVolume withRepository(String repository)
repository - the repository value to setpublic String revision()
public GitRepoVolume withRevision(String revision)
revision - the revision value to setCopyright © 2019. All rights reserved.