@Test public void testSetDependenciesList() throws NugetFormatException { ArrayList<Dependency> dependencies = new ArrayList<>(); dependencies.add(Dependency.parseString("package1:1.2.3")); dependencies.add(Dependency.parseString("package2:3.2.1")); EntryProperties properties = new EntryProperties(); properties.setDependenciesList(dependencies); assertThat(properties.getDependencies()).isEqualTo("package1:1.2.3,package2:3.2.1"); }
public void setDependenciesList(List<Dependency> dependencies) { if (dependencies == null || dependencies.isEmpty()) { this.dependencies = ""; } else { Joiner joiner = Joiner.on(",").skipNulls(); this.dependencies = joiner.join(dependencies); } }
EntryProperties { public void setDependenciesList(List<Dependency> dependencies) { if (dependencies == null || dependencies.isEmpty()) { this.dependencies = ""; } else { Joiner joiner = Joiner.on(",").skipNulls(); this.dependencies = joiner.join(dependencies); } } }
EntryProperties { public void setDependenciesList(List<Dependency> dependencies) { if (dependencies == null || dependencies.isEmpty()) { this.dependencies = ""; } else { Joiner joiner = Joiner.on(",").skipNulls(); this.dependencies = joiner.join(dependencies); } }  }
EntryProperties { public void setDependenciesList(List<Dependency> dependencies) { if (dependencies == null || dependencies.isEmpty()) { this.dependencies = ""; } else { Joiner joiner = Joiner.on(",").skipNulls(); this.dependencies = joiner.join(dependencies); } }  static EntryProperties parse(InputStream inputStream); @XmlAnyElement Element[] getProperties(); void setProperties(Element[] properties); void setNuspec(Nuspec nuspecFile); String getId(); void setId(String id); SemanticVersion getVersion(); void setVersion(SemanticVersion version); String getTitle(); void setTitle(String title); String getIconUrl(); void setIconUrl(String iconUrl); String getLicenseUrl(); void setLicenseUrl(String licenseUrl); String getProjectSourceUrl(); void setProjectSourceUrl(String projectSourceUrl); String getProjectUrl(); void setProjectUrl(String projectUrl); String getReportAbuseUrl(); void setReportAbuseUrl(String reportAbuseUrl); Integer getDownloadCount(); void setDownloadCount(Integer downloadCount); Integer getVersionDownloadCount(); void setVersionDownloadCount(Integer versionDownloadCount); Integer getRatingsCount(); void setRatingsCount(Integer ratingsCount); Integer getVersionRatingsCount(); void setVersionRatingsCount(Integer versionRatingsCount); Double getRating(); void setRating(Double rating); Double getVersionRating(); void setVersionRating(Double versionRating); Boolean getRequireLicenseAcceptance(); void setRequireLicenseAcceptance(Boolean requireLicenseAcceptance); String getDescription(); void setDescription(String description); String getReleaseNotes(); void setReleaseNotes(String releaseNotes); String getLanguage(); void setLanguage(String language); Date getPublished(); void setPublished(Date published); Double getPrice(); void setPrice(Double price); String getDependencies(); void setDependencies(String dependencies); String getPackageHash(); void setPackageHash(String packageHash); Long getPackageSize(); void setPackageSize(Long packageSize); String getExternalPackageUri(); void setExternalPackageUri(String externalPackageUri); String getCategories(); void setCategories(String categories); String getCopyright(); void setCopyright(String copyright); String getPackageType(); void setPackageType(String packageType); void setBugTrackerUrl(String bugTrackerUrl); String getBugTrackerUrl(); void setDocsUrl(String docsUrl); String getDocsUrl(); void setPackageSourceUrl(String packageSourceUrl); String getPackageSourceUrl(); void setMailingListUrl(String mailingListUrl); String getMailingListUrl(); List<String> getTags(); void setTags(List<String> tags); Boolean getIsLatestVersion(); void setIsLatestVersion(Boolean isLatestVersion); String getSummary(); void setSummary(String summary); void setDependenciesList(List<Dependency> dependencies); List<Dependency> getDependenciesList(); }
EntryProperties { public void setDependenciesList(List<Dependency> dependencies) { if (dependencies == null || dependencies.isEmpty()) { this.dependencies = ""; } else { Joiner joiner = Joiner.on(",").skipNulls(); this.dependencies = joiner.join(dependencies); } }  static EntryProperties parse(InputStream inputStream); @XmlAnyElement Element[] getProperties(); void setProperties(Element[] properties); void setNuspec(Nuspec nuspecFile); String getId(); void setId(String id); SemanticVersion getVersion(); void setVersion(SemanticVersion version); String getTitle(); void setTitle(String title); String getIconUrl(); void setIconUrl(String iconUrl); String getLicenseUrl(); void setLicenseUrl(String licenseUrl); String getProjectSourceUrl(); void setProjectSourceUrl(String projectSourceUrl); String getProjectUrl(); void setProjectUrl(String projectUrl); String getReportAbuseUrl(); void setReportAbuseUrl(String reportAbuseUrl); Integer getDownloadCount(); void setDownloadCount(Integer downloadCount); Integer getVersionDownloadCount(); void setVersionDownloadCount(Integer versionDownloadCount); Integer getRatingsCount(); void setRatingsCount(Integer ratingsCount); Integer getVersionRatingsCount(); void setVersionRatingsCount(Integer versionRatingsCount); Double getRating(); void setRating(Double rating); Double getVersionRating(); void setVersionRating(Double versionRating); Boolean getRequireLicenseAcceptance(); void setRequireLicenseAcceptance(Boolean requireLicenseAcceptance); String getDescription(); void setDescription(String description); String getReleaseNotes(); void setReleaseNotes(String releaseNotes); String getLanguage(); void setLanguage(String language); Date getPublished(); void setPublished(Date published); Double getPrice(); void setPrice(Double price); String getDependencies(); void setDependencies(String dependencies); String getPackageHash(); void setPackageHash(String packageHash); Long getPackageSize(); void setPackageSize(Long packageSize); String getExternalPackageUri(); void setExternalPackageUri(String externalPackageUri); String getCategories(); void setCategories(String categories); String getCopyright(); void setCopyright(String copyright); String getPackageType(); void setPackageType(String packageType); void setBugTrackerUrl(String bugTrackerUrl); String getBugTrackerUrl(); void setDocsUrl(String docsUrl); String getDocsUrl(); void setPackageSourceUrl(String packageSourceUrl); String getPackageSourceUrl(); void setMailingListUrl(String mailingListUrl); String getMailingListUrl(); List<String> getTags(); void setTags(List<String> tags); Boolean getIsLatestVersion(); void setIsLatestVersion(Boolean isLatestVersion); String getSummary(); void setSummary(String summary); void setDependenciesList(List<Dependency> dependencies); List<Dependency> getDependenciesList();  }