public interface ArtifactBuilder
Artifact instances.| Modifier and Type | Method and Description |
|---|---|
Artifact |
build()
Creates properly initialized
Artifact instance. |
ArtifactBuilder |
withAliases(List<String> aliases)
Allows to attach the provided list of aliases to the
Artifact. |
ArtifactBuilder |
withMetadata(Map<String,Object> metadata)
Allows linking the metadata with the
Artifact instance. |
ArtifactBuilder |
withVersion(String version)
Allows specifying version for the artifact.
|
ArtifactBuilder |
withVersionTags(List<String> tags)
Allows specifying list of TAG strings to be associated with artifact version.
|
ArtifactBuilder withAliases(List<String> aliases)
Artifact.aliases - the list of aliases.ArtifactBuilder withMetadata(Map<String,Object> metadata)
Artifact instance.metadata - the metadata to link with artifact.ArtifactBuilder withVersion(String version)
1.2.3-beta.4+sha899d8g79f87
1 is the major part (required)2 is the minor part (required)3 is the patch part (required)beta and 4 are the version suffixes (optional)sha899d8g79f87 is the build information (optional)version - the version string to be associated with artifact.ArtifactBuilder withVersionTags(List<String> tags)
tags - the list of TAG strings.Copyright © 2022. All rights reserved.