Skip to content

Commit

Permalink
~ updateDataTypeTree() and updateReferenceTypeTree()
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinherron committed May 2, 2024
1 parent 165f113 commit e7ec5ab
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,17 @@ public DataTypeTree getDataTypeTree() {
return dataTypeTree.get(() -> DataTypeTreeBuilder.build(this));
}

/**
* Re-build and return the Server's {@link DataTypeTree}.
*
* @return the re-built {@link DataTypeTree}.
*/
public DataTypeTree updateDataTypeTree() {
dataTypeTree.reset();

return getDataTypeTree();
}

/**
* Get the Server's {@link ReferenceTypeTree}.
*
Expand All @@ -401,6 +412,17 @@ public ReferenceTypeTree getReferenceTypeTree() {
return referenceTypeTree.get(() -> ReferenceTypeTreeBuilder.build(this));
}

/**
* Re-build and return the Server's {@link ReferenceTypeTree}.
*
* @return the re-built {@link ReferenceTypeTree}.
*/
public ReferenceTypeTree updateReferenceTypeTree() {
referenceTypeTree.reset();

return getReferenceTypeTree();
}

public Set<NodeId> getRegisteredViews() {
return registeredViews;
}
Expand Down

0 comments on commit e7ec5ab

Please sign in to comment.