where to find document about "builders" ?
I found this piece of code in RequestAssetsAccessProcess workflow,
relationApi.addRelation(builders.get("AddRelationRequest")
.typeId(relationTypeUuid)
.sourceId(sourceUuid)
.targetId(targetUuid)
.build()
)
I have no idea what “builders” is, could someone please explain it and where can I find some document about it ?
thank you so much
xingwuchai
Posted 5 years ago · Edited 2 years ago·Last reply 5 years ago
2 comments
xingwuchai
OP5 years ago · Editedvery helpful,
thank you so much,
Arthur.
arthurburkhardt
·5 years ago · EditedThis is not part of the public API, it looks like someone with inside knowledge about how Collibra works.
If you look at the code, “builders” is an instantiation of “PublicApiBuilderUtilityWrapper”. It seems it just contains the different builders which are documented in the public API.
e.g. you can write the same thing as follows, which is fully documented.