Class VersionDTO

java.lang.Object
org.apache.gravitino.dto.VersionDTO
Direct Known Subclasses:
GravitinoVersion

public class VersionDTO extends Object
Represents a Version Data Transfer Object (DTO).
  • Constructor Details

    • VersionDTO

      public VersionDTO()
      Default constructor for Jackson deserialization.
    • VersionDTO

      public VersionDTO(String version, String compileDate, String gitCommit)
      Creates a new instance of VersionDTO.
      Parameters:
      version - The version of the software.
      compileDate - The date the software was compiled.
      gitCommit - The git commit of the software.
  • Method Details

    • version

      public String version()
      Returns:
      The version of the software.
    • compileDate

      public String compileDate()
      Returns:
      The date the software was compiled.
    • gitCommit

      public String gitCommit()
      Returns:
      The git commit of the software.