Skip to content

Commit

Permalink
Expose #getProviders(String modelPackageUri, String model) from the twin
Browse files Browse the repository at this point in the history
The method getProviders(String, String) existed in the EMF Twin, but not the base twin. As we already use the model package uri extensively in that interface we should expose it here as well.

Signed-off-by: Tim Ward <timothyjward@apache.org>
  • Loading branch information
timothyjward committed Jun 12, 2024
1 parent d221b61 commit 6eebd84
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ public interface SensinactDigitalTwin extends CommandScoped {
*/
List<? extends SensinactProvider> getProviders(String model);

/**
* List all providers for the named model
*
* @param model
* @return
*/
List<? extends SensinactProvider> getProviders(String modelPackageUri, String model);

/**
* Get a provider by name
*
Expand Down

0 comments on commit 6eebd84

Please sign in to comment.