---
title: BuildInfo
summary: CLASS in nl.bimbase.bimworks.client.
order: 10
languages: [java]
sdk-package: Java · nl.bimbase.bimworks.client
---

# BuildInfo

[[page:reference/java/api|API catalogue]] · `nl.bimbase.bimworks.client` · CLASS

````java sdk=java sdk-namespace="nl.bimbase.bimworks.client"
final public class 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.

## Members

| Member | Kind | Description |
|---|---|---|
| [[page:reference/java/nl-bimbase-bimworks-client/buildinfo-f182d308#member-version-d4e550647b52|version()]] | METHOD | The BIM.works build this SDK was built with, e.g. `3.0.0-b.38`; `DEV` from sources. |
| [[page:reference/java/nl-bimbase-bimworks-client/buildinfo-f182d308#member-built-f21d591b6e7c|built()]] | METHOD | When it was built, UTC, ISO 8601 to the second; empty from sources. |
| [[page:reference/java/nl-bimbase-bimworks-client/buildinfo-f182d308#member-commit-60fa4235ca88|commit()]] | METHOD | The commit it was built from, 12 hex digits; empty from sources. |
| [[page:reference/java/nl-bimbase-bimworks-client/buildinfo-f182d308#member-isshaded-987c074045ea|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 … |
| [[page:reference/java/nl-bimbase-bimworks-client/buildinfo-f182d308#member-identity-ae6be82c3e30|identity()]] | METHOD | What this SDK says it is (§5.1): `java` or `java-shaded`, with this build's values. |

## `version()` {#member-version-d4e550647b52}

````java sdk=java sdk-namespace="nl.bimbase.bimworks.client"
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()` {#member-built-f21d591b6e7c}

````java sdk=java sdk-namespace="nl.bimbase.bimworks.client"
public static java.lang.String built()
````

When it was built, UTC, ISO 8601 to the second; empty from sources.

## `commit()` {#member-commit-60fa4235ca88}

````java sdk=java sdk-namespace="nl.bimbase.bimworks.client"
public static java.lang.String commit()
````

The commit it was built from, 12 hex digits; empty from sources.

## `isShaded()` {#member-isshaded-987c074045ea}

````java sdk=java sdk-namespace="nl.bimbase.bimworks.client"
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()` {#member-identity-ae6be82c3e30}

````java sdk=java sdk-namespace="nl.bimbase.bimworks.client"
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()`
