Package org.wildfly.prospero.api
Class SavedState.Version
java.lang.Object
org.wildfly.prospero.api.SavedState.Version
- All Implemented Interfaces:
Comparable<SavedState.Version>
- Enclosing class:
- SavedState
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
physicalVersion
-
logicalVersion
-
-
Constructor Details
-
Version
Constructs version description of a manifest.- Parameters:
identifier- - seegetIdentifier()physicalVersion- - seegetPhysicalVersion()logicalVersion- - seegetLogicalVersion()
-
-
Method Details
-
getPhysicalVersion
The version of Maven coordinate if the manifest is a Maven artifact or a hash of a file in case if URL manifest.- Returns:
-
getLogicalVersion
The version of manifest declared by the manifest header. For example since schema version 1.1.0, manifests can definelogicalVersionfield. Note this is an optional value.- Returns:
-
getIdentifier
Identifier of the manifest. In case of Maven manifest it is the GA part of the Maven coordinates. In case of URL manifest, it is the URL of the manifest.- Returns:
-
getDisplayVersion
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SavedState.Version>
-