Class BuildInfo

java.lang.Object
nz.org.riskscape.engine.BuildInfo

public class BuildInfo extends Object

Data holder for things that come from build.properties

  • Field Details

    • UNKNOWN

      public static final BuildInfo UNKNOWN

      Useful default for various testing scenarios

  • Constructor Details

    • BuildInfo

      public BuildInfo(Properties buildProps)
    • BuildInfo

      public BuildInfo(String version, String commitInfo, Date buildTime)
  • Method Details

    • getBuildInfo

      public static BuildInfo getBuildInfo()
    • getVersion

      public String getVersion()
    • getCommitInfo

      public String getCommitInfo()
    • getBuildTime

      public Date getBuildTime()
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object