class AbstractKieAssetsDropdown implements KieAssetsDropdown {

    @Override
    public Optional<KieAssetsDropdownItem> getValue() {
        String currentValue = view.getValue();
        return kieAssets
                .stream()
                .filter(kieAsset -> Objects.equals(currentValue, kieAsset.getValue()))
                .findAny();
    }

    public  AbstractKieAssetsDropdown(final View view,
                                     final KieAssetsDropdownItemsProvider dataProvider);

}