@Test void basicMavenArtifactTest() { ArtifactAdapter adapter = new ArtifactAdapter(artifact); assertThat(adapter.getFilename()).isEqualTo("chet.txt"); }
@Override public String getFilename() { return filename; }
ArtifactAdapter implements ArtifactAndLicense { @Override public String getFilename() { return filename; } }
ArtifactAdapter implements ArtifactAndLicense { @Override public String getFilename() { return filename; } ArtifactAdapter(Artifact artifact); }
ArtifactAdapter implements ArtifactAndLicense { @Override public String getFilename() { return filename; } ArtifactAdapter(Artifact artifact); static String getLicenseText(License license); static String createKey(License license); @Override String getFilename(); @Override List<LicenseInfo> getLicenses(); @Override Optional<String> getCopyrightStatement(); @Override Optional<String> getPurl(); }
ArtifactAdapter implements ArtifactAndLicense { @Override public String getFilename() { return filename; } ArtifactAdapter(Artifact artifact); static String getLicenseText(License license); static String createKey(License license); @Override String getFilename(); @Override List<LicenseInfo> getLicenses(); @Override Optional<String> getCopyrightStatement(); @Override Optional<String> getPurl();  }