Class SavedState.Version

java.lang.Object
org.wildfly.prospero.api.SavedState.Version
All Implemented Interfaces:
Comparable<SavedState.Version>
Enclosing class:
SavedState

public static class SavedState.Version extends Object implements Comparable<SavedState.Version>
  • Field Details

    • physicalVersion

      public final String physicalVersion
    • logicalVersion

      public final String logicalVersion
  • Constructor Details

  • Method Details

    • getPhysicalVersion

      public String 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

      public String getLogicalVersion()
      The version of manifest declared by the manifest header. For example since schema version 1.1.0, manifests can define logicalVersion field. Note this is an optional value.
      Returns:
    • getIdentifier

      public String 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

      public String getDisplayVersion()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(SavedState.Version o)
      Specified by:
      compareTo in interface Comparable<SavedState.Version>