public class VersionHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SNAPSHOT_TOKEN |
Constructor and Description |
---|
VersionHelper(ProjectInformation projectInformation)
Loads the versioning information for the given project-information structure using the project information's
internal name as lookup key.
|
Modifier and Type | Method and Description |
---|---|
String |
getProductId()
Returns the product id as computed by createProductId().
|
String |
getReleaseBuildNumber()
Returns the release build number.
|
String |
getReleaseCandidateToken()
Deprecated.
No longer used.
|
String |
getReleaseMajor()
Returns the release major number.
|
String |
getReleaseMilestone()
Returns the release milestone number.
|
String |
getReleaseMinor()
Returns the release minor number.
|
String |
getReleaseNumber()
Returns the release number.
|
String |
getReleasePatch()
Returns the release patch number.
|
String |
getTitle()
Returns the implementation title as specified in the manifest.
|
String |
getVersion()
Returns the full version string as computed by createVersion().
|
protected void |
parseVersion(String version) |
public static final String SNAPSHOT_TOKEN
public VersionHelper(ProjectInformation projectInformation)
projectInformation
- the project we load information for.protected void parseVersion(String version)
public String getVersion()
public String getTitle()
public String getProductId()
createProductId()
public String getReleaseMilestone()
public String getReleaseMinor()
public String getReleaseMajor()
@Deprecated public String getReleaseCandidateToken()
public String getReleasePatch()
public String getReleaseNumber()
public String getReleaseBuildNumber()
Copyright © 2017 Hitachi Vantara. All rights reserved.