Package com.intershop.gradle.icm.utils
Class LibraryListFile
-
- All Implemented Interfaces:
public final class LibraryListFileEncapsulates a file containing a library list. The actual format depends on the used entries but may look like
org.glassfish.jersey.media:jersey-media-multipart:3.1.7 org.glassfish.main.external:ldapbp-repackaged:5.0 org.hibernate.validator:hibernate-validator:8.0.1.Final org.javassist:javassist:3.30.2-GA org.jboss.logging:jboss-logging:3.6.0.Final
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLibraryListFile.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Set<String>entriespublic final static LibraryListFile.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description LibraryListFile(Set<String> entries)
-
Method Summary
Modifier and Type Method Description final Set<String>getEntries()final Unitwrite(RegularFile targetFile)Writes this LibraryListFile's entries into a RegularFile final LibraryListFileplus(LibraryListFile other)Creates a new LibraryListFile containing the entries of this.entries.plus(other. final LibraryListFileminus(LibraryListFile other)Creates a new LibraryListFile containing the entries of this.entries.minus(other. StringtoString()Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getEntries
final Set<String> getEntries()
-
write
final Unit write(RegularFile targetFile)
Writes this LibraryListFile's entries into a RegularFile
-
plus
final LibraryListFile plus(LibraryListFile other)
Creates a new LibraryListFile containing the entries of this.entries.plus(other.entries)
-
minus
final LibraryListFile minus(LibraryListFile other)
Creates a new LibraryListFile containing the entries of this.entries.minus(other.entries)
-
-
-
-