class ApplicationSet {

    public List<Version> getAllVersions(ApplicationId applicationId) {
        return applications.values().stream()
                .filter(application -> application.getId().equals(applicationId))
                .map(Application::getVespaVersion)
                .sorted()
                .collect(Collectors.toList());
    }

    private  ApplicationSet(List<Application> applicationList);

}