Reference·Java · nl.bimbase.bimworks.client.apisJava

ModelChecksApi

CLASS in nl.bimbase.bimworks.client.apis.

API catalogue · nl.bimbase.bimworks.client.apis · CLASS

Java#
public class ModelChecksApi

API Calls related to running and defining Model Checks

Inheritance and interfaces#

Members#

Member Kind Description
ModelChecksApi(BimWorksClient) CONSTRUCTOR
getValidationReport(UUID, boolean) METHOD The stored checkin validation report of a model version: per-stage (parse, schema check, geometry, indexing) findings and a summary with EXACT per-severity c…
getValidationReportForError(UUID) METHOD The validation report of a FAILED checkin, resolved through the server's error record: a checkin that fails still has a report explaining how far the pipelin…
runChecks(UUID, Set<UUID>, ObjectNode) METHOD
runChecks(UUID, Set<UUID>, ObjectNode, Set<UUID>) METHOD
listModelCheckDefinitions(ListModelCheckDefinitionsInput) METHOD
getModelCheckDefinitionSetByName(String) METHOD
getModelCheckDefinitionSetByNameNE(String) METHOD
downloadCheckResultsAsBcf(UUID) METHOD
getModelReport(Set<UUID>) METHOD
getModelReportByCheckSetUuid(UUID) METHOD
getModelCheckResults(UUID) METHOD
listModelCheckResults(UUID, Set<UUID>) METHOD
modelCheckResultsAvailability(UUID) METHOD
addModelCheckDefinitionSet(String) METHOD
addModelCheckDefinition(String, UUID, String) METHOD
updateModelCheckDefinition(UUID, String, String) METHOD
getModelCheckDefinitionByName(UUID, String) METHOD
getModelCheckDefinitionByNameNE(UUID, String) METHOD
runCheck(String, Set<UUID>) METHOD
runIdsCheck(String, Set<UUID>) METHOD
downloadCheckResultsAsBcfDirect(Set<UUID>, String, String) METHOD Download the results of a model check as BCF. This can for example be used to export a BCF for an IDS check
downloadCheckResultsAsBcfDirect(Set<UUID>, String, String, JsonNode) METHOD As #downloadCheckResultsAsBcfDirect(Set, String, String), for a BCL check ("Check3") with $name parameters: parameters holds their values by name, and …
listModelCheckDefinitionSets() METHOD Every active check definition set (requires the CHECK_DEFINITIONS user feature).

ModelChecksApi(BimWorksClient)#

Parameters#

Name Type Description
bimWorksClient BimWorksClient

getValidationReport(UUID, boolean)#

Java#
public com.fasterxml.jackson.databind.JsonNode getValidationReport(java.util.UUID versionUuid, boolean summaryOnly) throws nl.bimbase.bimworks.client.BimWorksException

The stored checkin validation report of a model version: per-stage (parse, schema check, geometry, indexing) findings and a summary with EXACT per-severity counts — counts stay exact even when the findings lists are truncated by the server-side caps.

The result carries `summary` and `report`; both are null (never an error) when the version predates validation reports.

Parameters#

Name Type Description
versionUuid java.util.UUID the model version
summaryOnly boolean true to fetch only the compact summary (cheap), false for the full report including findings

getValidationReportForError(UUID)#

Java#
public com.fasterxml.jackson.databind.JsonNode getValidationReportForError(java.util.UUID errorUuid) throws nl.bimbase.bimworks.client.BimWorksException

The validation report of a FAILED checkin, resolved through the server's error record: a checkin that fails still has a report explaining how far the pipeline got and what it found (docs/validation-report-design.md section 9).

Parameters#

Name Type Description
errorUuid java.util.UUID the uuid of the server error row for the failed checkin

runChecks(UUID, Set<UUID>, ObjectNode)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.RunChecksTask runChecks(java.util.UUID modelCheckDefinitionSet, java.util.Set<java.util.UUID> versionUuids, com.fasterxml.jackson.databind.node.ObjectNode input) throws nl.bimbase.bimworks.client.BimWorksException
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
modelCheckDefinitionSet java.util.UUID
versionUuids java.util.Set<java.util.UUID>
input com.fasterxml.jackson.databind.node.ObjectNode

runChecks(UUID, Set<UUID>, ObjectNode, Set<UUID>)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.RunChecksTask runChecks(java.util.UUID modelCheckDefinitionSet, java.util.Set<java.util.UUID> versionUuids, com.fasterxml.jackson.databind.node.ObjectNode input, java.util.Set<java.util.UUID> modelCheckDefinitionUuids) throws nl.bimbase.bimworks.client.BimWorksException
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
modelCheckDefinitionSet java.util.UUID
versionUuids java.util.Set<java.util.UUID>
input com.fasterxml.jackson.databind.node.ObjectNode
modelCheckDefinitionUuids java.util.Set<java.util.UUID>

listModelCheckDefinitions(ListModelCheckDefinitionsInput)#

Java#
@java.lang.Deprecated
public com.fasterxml.jackson.databind.node.ArrayNode listModelCheckDefinitions(nl.bimbase.bimworks.client.ListModelCheckDefinitionsInput input) throws nl.bimbase.bimworks.client.BimWorksException
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
input ListModelCheckDefinitionsInput

getModelCheckDefinitionSetByName(String)#

Java#
@java.lang.Deprecated
public com.fasterxml.jackson.databind.node.ObjectNode getModelCheckDefinitionSetByName(java.lang.String name) throws nl.bimbase.bimworks.client.BimWorksException
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
name java.lang.String

getModelCheckDefinitionSetByNameNE(String)#

Java#
@java.lang.Deprecated
public com.fasterxml.jackson.databind.node.ObjectNode getModelCheckDefinitionSetByNameNE(java.lang.String name) throws nl.bimbase.bimworks.client.BimWorksException
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
name java.lang.String

downloadCheckResultsAsBcf(UUID)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.DownloadCheckResultsAsBcfInput downloadCheckResultsAsBcf(java.util.UUID uuid) throws nl.bimbase.bimworks.client.BimWorksException
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
uuid java.util.UUID

getModelReport(Set<UUID>)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.GetModelReportTask getModelReport(java.util.Set<java.util.UUID> versionUuids)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
versionUuids java.util.Set<java.util.UUID>

getModelReportByCheckSetUuid(UUID)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.GetModelReportByModelCheckSetUuidTask getModelReportByCheckSetUuid(java.util.UUID modelCheckSetUuid)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
modelCheckSetUuid java.util.UUID

getModelCheckResults(UUID)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.GetModelCheckResultsTask getModelCheckResults(java.util.UUID modelCheckSetUuid)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
modelCheckSetUuid java.util.UUID

listModelCheckResults(UUID, Set<UUID>)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.ListModelCheckResultsTask listModelCheckResults(java.util.UUID modelCheckSetUuid, java.util.Set<java.util.UUID> modelCheckResultUuids)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
modelCheckSetUuid java.util.UUID
modelCheckResultUuids java.util.Set<java.util.UUID>

modelCheckResultsAvailability(UUID)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.ModelChecksAvailabilityTask modelCheckResultsAvailability(java.util.UUID modelCheckSetEUuid)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
modelCheckSetEUuid java.util.UUID

addModelCheckDefinitionSet(String)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.AddModelCheckDefinitionSet addModelCheckDefinitionSet(java.lang.String name)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
name java.lang.String

addModelCheckDefinition(String, UUID, String)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.AddModelCheckDefinition addModelCheckDefinition(java.lang.String name, java.util.UUID setUuid, java.lang.String javaClass)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
name java.lang.String
setUuid java.util.UUID
javaClass java.lang.String

updateModelCheckDefinition(UUID, String, String)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.UpdateModelCheckDefinition updateModelCheckDefinition(java.util.UUID uuid, java.lang.String name, java.lang.String input)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
uuid java.util.UUID
name java.lang.String
input java.lang.String

getModelCheckDefinitionByName(UUID, String)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.GetModelCheckDefinitionByName getModelCheckDefinitionByName(java.util.UUID setUuid, java.lang.String name)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
setUuid java.util.UUID
name java.lang.String

getModelCheckDefinitionByNameNE(UUID, String)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.GetModelCheckDefinitionByName getModelCheckDefinitionByNameNE(java.util.UUID setUuid, java.lang.String name)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
setUuid java.util.UUID
name java.lang.String

runCheck(String, Set<UUID>)#

Java#
@java.lang.Deprecated
public nl.bimbase.bimworks.client.RunCheckTask runCheck(java.lang.String input, java.util.Set<java.util.UUID> versionUuids)
Warning

Deprecated: Deprecated

Parameters#

Name Type Description
input java.lang.String
versionUuids java.util.Set<java.util.UUID>

runIdsCheck(String, Set<UUID>)#

Java#
public nl.bimbase.bimworks.client.RunIdsCheckTask runIdsCheck(java.lang.String input, java.util.Set<java.util.UUID> versionUuids)

Parameters#

Name Type Description
input java.lang.String
versionUuids java.util.Set<java.util.UUID>

downloadCheckResultsAsBcfDirect(Set<UUID>, String, String)#

Java#
public nl.bimbase.bimworks.client.DownloadCheckResultsAsBcfDirect downloadCheckResultsAsBcfDirect(java.util.Set<java.util.UUID> versionUuids, java.lang.String type, java.lang.String input)

Download the results of a model check as BCF. This can for example be used to export a BCF for an IDS check

Parameters#

Name Type Description
versionUuids java.util.Set<java.util.UUID> Version UUIDs of the models to check
type java.lang.String For IDS this has to be "IdsCheck"
input java.lang.String The actual description of the model check, for "IdsCheck" this must be a valid IDS (XML)

Returns#

DownloadCheckResultsAsBcfDirect To do something with the results first call executeAsync(), then use downloadTo(outputStream) to write the returned data to for example a file

downloadCheckResultsAsBcfDirect(Set<UUID>, String, String, JsonNode)#

Java#
public nl.bimbase.bimworks.client.DownloadCheckResultsAsBcfDirect downloadCheckResultsAsBcfDirect(java.util.Set<java.util.UUID> versionUuids, java.lang.String type, java.lang.String input, com.fasterxml.jackson.databind.JsonNode parameters)

As #downloadCheckResultsAsBcfDirect(Set, String, String), for a BCL check ("Check3") with $name parameters: parameters holds their values by name, and every parameter then needs one

Parameters#

Name Type Description
versionUuids java.util.Set<java.util.UUID>
type java.lang.String
input java.lang.String
parameters com.fasterxml.jackson.databind.JsonNode

listModelCheckDefinitionSets()#

Java#
public com.fasterxml.jackson.databind.node.ArrayNode listModelCheckDefinitionSets() throws nl.bimbase.bimworks.client.BimWorksException

Every active check definition set (requires the CHECK_DEFINITIONS user feature).

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()
  • getBimWorksClient()