OtpProjectInfo Data Type

Implemented Interfaces
Serializable
Properties
name data type constraints description
version MavenProjectVersion   Info derived from version string
graphFileHeaderInfo GraphFileHeader   The graph file header expected for this instance of OTP.
versionControl VersionControlInfo   Other info from git-commit-id-maven-plugin via otp-project-info.properties
otpConfigVersion string   See OtpConfig#configVersion
buildConfigVersion string   See BuildConfig#configVersion
routerConfigVersion string   See RouterConfig#getConfigVersion()
UID number required
versionString string   Return a version string: version: 2.1.0, ser.ver.id: 7, commit: 2121212.., branch: dev-2.x
otpSerializationVersionId string   The OTP Serialization version id is used to determine if OTP and a serialized blob(Graph.obj) of the otp internal model are compatible. This filed is writen into the Graph.obj file header and checked when loading the graph later.

Example

{
  "version" : {
    "version" : "...",
    "major" : 12345,
    "minor" : 12345,
    "patch" : 12345,
    "qualifier" : "..."
  },
  "graphFileHeaderInfo" : {
    "unknown" : true
  },
  "versionControl" : {
    "commit" : "...",
    "branch" : "...",
    "commitTime" : "...",
    "buildTime" : "...",
    "dirty" : true
  },
  "otpConfigVersion" : "...",
  "buildConfigVersion" : "...",
  "routerConfigVersion" : "...",
  "UID" : 12345,
  "versionString" : "...",
  "otpSerializationVersionId" : "..."
}