class IRGetNotClearedReleases extends IRForReleases {

    @Override
    public Collection<SW360Release> execute(SW360Connection connection) {
        final List<SW360SparseComponent> components = connection.getComponentAdapter().search(ComponentSearchParams.ALL_COMPONENTS);

        final Predicate<SW360Release> releasePredicate = sw360release -> !ComplianceFeatureUtils.isApproved(sw360release);
        return getReleasesFromComponentsByPredicate(connection, components, releasePredicate);
    }

}