Class DefaultMvnRepoJarFile
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.core.DefaultFileResource
org.jdrupes.builder.java.DefaultJarFile
org.jdrupes.builder.mvnrepo.DefaultMvnRepoJarFile
- All Implemented Interfaces:
FileResource, InputResource, IOResource, Proxyable, Resource, ZipFile, JarFile, MvnRepoJarFile
The default implementation of a
MvnRepoJarFile.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMvnRepoJarFile(ResourceType<? extends JarFile> type, List<org.eclipse.aether.repository.RemoteRepository> repositories, String coordinates, Path path) Initializes a new instance with the given values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Maven repository reference for this JAR file.List<org.eclipse.aether.repository.RemoteRepository> Returns the repositories used to resolve 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 Resource
asOf, asOfLocalized, isNewerThan, name, type
-
Constructor Details
-
DefaultMvnRepoJarFile
public DefaultMvnRepoJarFile(ResourceType<? extends JarFile> type, List<org.eclipse.aether.repository.RemoteRepository> repositories, String coordinates, Path path) Initializes a new instance with the given values.- Parameters:
type- the typerepositories- the repositoriescoordinates- the coordinatespath- the path
-
-
Method Details
-
repositories
Description copied from interface:MvnRepoJarFileReturns the repositories used to resolve this JAR file.- Specified by:
repositoriesin interfaceMvnRepoJarFile- Returns:
- the repositories
-
reference
Description copied from interface:MvnRepoJarFileReturns the Maven repository reference for this JAR file.- Specified by:
referencein interfaceMvnRepoJarFile- Returns:
- the Maven repository resource
-