Package com.sap.cds.maven.plugin.build
Class NodeCacheResolver
java.lang.Object
com.sap.cds.maven.plugin.build.NodeCacheResolver
A Node.js archive cache resolver using the local Maven repository as storage.
-
Constructor Summary
ConstructorsConstructorDescriptionNodeCacheResolver(org.eclipse.aether.RepositorySystemSession repositorySystemSession) Constructs a newNodeCacheResolverinstance. -
Method Summary
-
Constructor Details
-
NodeCacheResolver
public NodeCacheResolver(org.eclipse.aether.RepositorySystemSession repositorySystemSession) Constructs a newNodeCacheResolverinstance.- Parameters:
repositorySystemSession- the active repository system session- Throws:
NullPointerException- if any of the required parameters isnull.
-
-
Method Details
-
resolve
Returns a Node file handle according the given version.- Parameters:
version- the required node version- Returns:
- the resolved Node file handle
- Throws:
NullPointerException- if any of the required parameters isnull.
-
resolveUnpacked
Returns a Node file handle according the given version.- Parameters:
version- the required Node version- Returns:
- the resolved node file handle
- Throws:
NullPointerException- if any of the required parameters isnull.
-