Class DefaultMvnRepoLibraryJarFile
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.core.DefaultFileResource
org.jdrupes.builder.java.DefaultJarFile
org.jdrupes.builder.mvnrepo.DefaultMvnRepoLibraryJarFile
- All Implemented Interfaces:
FileResource, InputResource, IOResource, Proxyable, Resource, ZipFile, ClasspathElement, JarFile, LibraryJarFile, MvnRepoJarFile, MvnRepoLibraryJarFile
The default implementation of a
MvnRepoLibraryJarFile.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMvnRepoLibraryJarFile(ResourceType<? extends LibraryJarFile> type, String coordinates, Path path) Initializes a new instance with the given values. -
Method Summary
Modifier and TypeMethodDescriptionThe Maven repository resource reference for this jar file.Methods inherited from class DefaultFileResource
asOf, equals, hashCode, inputStream, outputStream, pathMethods inherited from interface FileResource
cleanup, pathMethods inherited from interface InputResource
inputStreamMethods inherited from interface IOResource
outputStreamMethods inherited from interface LibraryJarFile
toPathMethods inherited from interface Resource
asOf, asOfLocalized, isNewerThan, name, type
-
Constructor Details
-
DefaultMvnRepoLibraryJarFile
public DefaultMvnRepoLibraryJarFile(ResourceType<? extends LibraryJarFile> type, String coordinates, Path path) Initializes a new instance with the given values.- Parameters:
type- the typecoordinates- the coordinatespath- the path
-
-
Method Details
-
reference
Description copied from interface:MvnRepoJarFileThe Maven repository resource reference for this jar file.- Specified by:
referencein interfaceMvnRepoJarFile- Returns:
- the mvn repo resource
-