ArtifactDescriptorResult (ArtifactDescriptorRequest request, ArtifactDescriptorResultData resultData) { ArtifactDescriptorResult result = new ArtifactDescriptorResult(request); result.setArtifact(resultData.getArtifact()); result.setRepository(resultData.getRepository()); result.setExceptions(resultData.getExceptions()); result.setRelocations(resultData.getRelocations()); result.setAliases(resultData.getAliases()); result.setDependencies(resultData.getDependencies()); result.setManagedDependencies(resultData.getManagedDependencies()); result.setRepositories(resultData.getRepositories()); result.setProperties(resultData.getProperties()); return result; }