public class Ref extends Object
| Constructor and Description |
|---|
Ref(Optional<Long> versionNumber,
Optional<String> branchName,
Optional<String> tagName) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getBranchName() |
Optional<String> |
getTagName() |
Optional<Long> |
getVersionNumber() |
static Ref |
ofBranch(String branchName) |
static Ref |
ofBranch(String branchName,
long versionNumber) |
static Ref |
ofMain() |
static Ref |
ofMain(long versionNumber) |
static Ref |
ofTag(String tagName) |
String |
toString() |
Copyright © 2025. All rights reserved.