class SW360UpdaterImpl {

    public AttachmentUploadResult<SW360Release> artifactToReleaseWithUploads(Artifact artifact, SW360Release release,
                                                                             Map<Path, SW360AttachmentType> uploads) {
        Set<String> licenseIds = getSetOfLicenseIds(artifact);
        release.setMainLicenseIds(licenseIds);
        SW360Release sw360ReleaseFinal = sw360MetaDataUpdater.getOrCreateRelease(release, isUpdateReleases());

        return uploadSourceAndAttachments(sw360ReleaseFinal, artifact, uploads);
    }

    public  SW360UpdaterImpl(SW360MetaDataUpdater sw360MetaDataUpdater,
                            String projectName, String projectVersion, boolean updateReleases,
                            boolean uploadSources, boolean deleteObsoleteSourceAttachments);

}