Class BuildInfo
java.lang.Object
nl.bimbase.bimworks.client.BuildInfo
The build of this SDK, which it sends with every request (docs/sdk-client-identification-design.md §5.2). The Ops
builder stamps the three values right before it compiles (BimWorksClientBuildJob); run from sources they stay as
they are here, and the SDK reports itself as
v="dev". The values are private constants behind methods, so an
application reads them from the jar it runs with, never from the one it was compiled against.-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringbuilt()When it was built, UTC, ISO 8601 to the second; empty from sources.static Stringcommit()The commit it was built from, 12 hex digits; empty from sources.static nl.sascom.backplane.common.client.ClientIdentityidentity()What this SDK says it is (§5.1):javaorjava-shaded, with this build's values.static booleanisShaded()Whether this is the shaded jar (nl.bimbase.bimworks:clientshaded).static Stringversion()The BIM.works build this SDK was built with, e.g.
-
Method Details
-
version
The BIM.works build this SDK was built with, e.g.3.0.0-b.38;DEVfrom sources. -
built
When it was built, UTC, ISO 8601 to the second; empty from sources. -
commit
The commit it was built from, 12 hex digits; empty from sources. -
isShaded
public static boolean isShaded()Whether this is the shaded jar (nl.bimbase.bimworks:clientshaded). The shade plugin relocates Jetty, and with it this class literal, so the answer is what actually runs, also when an application shades the jar again. -
identity
public static nl.sascom.backplane.common.client.ClientIdentity identity()What this SDK says it is (§5.1):javaorjava-shaded, with this build's values.
-