Package com.artipie.composer.http
Class Archive.Name
java.lang.Object
com.artipie.composer.http.Archive.Name
- Enclosing interface:
Archive
Name of archive consisting of name and version.
For example, "name-1.0.1.tgz".
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Name
Ctor.- Parameters:
full
- Full namevrsn
- Version from name
-
-
Method Details
-
full
Obtains full name.- Returns:
- Full name.
-
artifact
Obtains artifact archive key as "artifacts" prefix and full name.- Returns:
- Full name.
-
version
Obtains version which is extracted from the name.- Returns:
- Version which is extracted from the name.
-