BuildInfo
CLASS in nl.bimbase.bimworks.client.
API catalogue · nl.bimbase.bimworks.client · CLASS
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.
Members#
| Member | Kind | Description |
|---|---|---|
| version() | METHOD | The BIM.works build this SDK was built with, e.g. 3.0.0-b.38; DEV from sources. |
| built() | METHOD | When it was built, UTC, ISO 8601 to the second; empty from sources. |
| commit() | METHOD | The commit it was built from, 12 hex digits; empty from sources. |
| isShaded() | METHOD | 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 … |
| identity() | METHOD | What this SDK says it is (§5.1): java or java-shaded, with this build's values. |
version()#
public static java.lang.String version()The BIM.works build this SDK was built with, e.g. 3.0.0-b.38; DEV from sources.
built()#
public static java.lang.String built()When it was built, UTC, ISO 8601 to the second; empty from sources.
commit()#
public static java.lang.String 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): java or java-shaded, with this build's values.
Inherited members#
java.lang.Object#equals(java.lang.Object)java.lang.Object#toString()java.lang.Object#wait(long)java.lang.Object#wait(long,int)java.lang.Object#wait()java.lang.Object#finalize()java.lang.Object#getClass()java.lang.Object#hashCode()java.lang.Object#clone()java.lang.Object#notify()java.lang.Object#notifyAll()