public void uploadComplete(ServerInfo serverInfo, ServerFile mainFile, ServerFile[] allUploadedFiles) {
WsdlFile[] wsdls = Arrays2.transform(allUploadedFiles, WsdlFile.class, new Function<ServerFile, WsdlFile>() {
@Override
public WsdlFile apply(ServerFile f) {
return new WsdlFile(f.getFilePath());
}
});
WsdlListCache.update(serverInfo.getGuid(), wsdls);
callback.succeeded(mainFile);
}