public Set < ModuleIdentifier > getAllRevisionIds ( String scriptModuleId ) { Objects . requireNonNull ( scriptModuleId , "scriptModuleId" ) ; Set < ModuleIdentifier > revisionIds = new LinkedHashSet < ModuleIdentifier > ( ) ; for ( ModuleIdentifier revisionId : moduleSpecs . keySet ( ) ) { if ( revisionId . getName ( ) . equals ( scriptModuleId ) ) { revisionIds . add ( revisionId ) ; } } return Collections . unmodifiableSet ( revisionIds ) ; }
Find all module revisionIds with a common name