Package com.artipie.nuget
Class Versions
java.lang.Object
com.artipie.nuget.Versions
NuGet package version enumeration.
- Since:
- 0.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(NuspecField version) Add version.all()
Read all package versions.Saves binary content to storage.
-
Constructor Details
-
Versions
public Versions()Ctor. -
Versions
public Versions(javax.json.JsonObject content) Ctor.- Parameters:
content
- Packages registry content.
-
-
Method Details
-
add
Add version.- Parameters:
version
- Version.- Returns:
- Updated versions.
-
all
Read all package versions.- Returns:
- All versions sorted by natural order.
-
save
Saves binary content to storage.- Parameters:
storage
- Storage to use for saving.key
- Key to store data at.- Returns:
- Completion of save operation.
-