Uses of Class
org.apache.maven.api.metadata.Snapshot
Package
Description
Maven Repository Metadata model.
-
Uses of Snapshot in org.apache.maven.api.metadata
Modifier and TypeMethodDescriptionSnapshot.Builder.build()
Versioning.getSnapshot()
The current snapshot data in use for this version ("groupId/artifactId/version" only)static Snapshot
Snapshot.newInstance()
Creates a newSnapshot
instance.static Snapshot
Snapshot.newInstance
(boolean withDefaults) Creates a newSnapshot
instance using default values or not.Snapshot.withBuildNumber
(int buildNumber) Creates a newSnapshot
instance using the specified buildNumber.Snapshot.withLocalCopy
(boolean localCopy) Creates a newSnapshot
instance using the specified localCopy.Snapshot.withTimestamp
(String timestamp) Creates a newSnapshot
instance using the specified timestamp.Modifier and TypeMethodDescriptionstatic Snapshot.Builder
Snapshot.newBuilder
(Snapshot from) Creates a newSnapshot
builder instance using the specified object as a basis.static Snapshot.Builder
Snapshot.newBuilder
(Snapshot from, boolean forceCopy) Creates a newSnapshot
builder instance using the specified object as a basis.Versioning.withSnapshot
(Snapshot snapshot) Creates a newVersioning
instance using the specified snapshot. -
Uses of Snapshot in org.apache.maven.artifact.repository.metadata