Package io.cryostat.agent
Class VersionInfo
- java.lang.Object
-
- io.cryostat.agent.VersionInfo
-
public class VersionInfo extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVersionInfo.Semver
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>asMap()VersionInfo.SemvergetAgentVersion()VersionInfo.SemvergetServerMax()VersionInfo.SemvergetServerMin()static VersionInfoload()booleanvalidateServerVersion(VersionInfo.Semver actual)
-
-
-
Method Detail
-
load
public static VersionInfo load() throws IOException
- Throws:
IOException
-
getAgentVersion
public VersionInfo.Semver getAgentVersion()
-
getServerMin
public VersionInfo.Semver getServerMin()
-
getServerMax
public VersionInfo.Semver getServerMax()
-
validateServerVersion
public boolean validateServerVersion(VersionInfo.Semver actual)
-
-