public abstract class AbstractVersion extends Object implements Version
Modifier and Type | Field and Description |
---|---|
protected long |
buildTimestamp |
protected String |
gitBranch |
protected String |
gitVersion |
protected String |
mavenProjectVersion |
protected String |
repositoryName |
Modifier | Constructor and Description |
---|---|
protected |
AbstractVersion(String repositoryName,
String mavenProjectVersion,
String gitVersion,
String gitBranch,
long buildTimestamp) |
Modifier and Type | Method and Description |
---|---|
long |
getBuildTimestamp() |
String |
getGitBranch() |
String |
getGitVersion() |
String |
getMavenProjectVersion() |
String |
getRepositoryName() |
Map<String,String> |
toMap() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTableString, getTableString, list
protected final String repositoryName
protected final String mavenProjectVersion
protected final String gitVersion
protected final String gitBranch
protected final long buildTimestamp
public String getRepositoryName()
getRepositoryName
in interface Version
public String getGitVersion()
getGitVersion
in interface Version
public String getMavenProjectVersion()
getMavenProjectVersion
in interface Version
public String getGitBranch()
getGitBranch
in interface Version
public long getBuildTimestamp()
getBuildTimestamp
in interface Version
Copyright © 2020. All rights reserved.