public class ArtifactUtils extends Object
| Constructor and Description |
|---|
ArtifactUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
artifactFullName(String workspace,
String name,
String version)
Creates standard full name of the artifact in form 'workspace/name:version'.
|
static Map<QueryParamName,String> |
downloadAssetParams(@NonNull DownloadArtifactAssetOptions options,
@NonNull String experimentKey)
Extracts query parameters from provided
DownloadArtifactAssetOptions to be used to download specific
asset associated with Comet artifact. |
static Map<QueryParamName,String> |
versionDetailsParams(@NonNull GetArtifactOptions options,
@NonNull String experimentKey)
Extracts query parameters from provided
GetArtifactOptions object to be used for getting details about
particular artifact version. |
static Map<QueryParamName,String> |
versionFilesParams(@NonNull GetArtifactOptions options)
Extracts query parameters from provided
GetArtifactOptions object to be used for getting list of assets
associated with particular artifact. |
public static Map<QueryParamName,String> versionDetailsParams(@NonNull @NonNull GetArtifactOptions options, @NonNull @NonNull String experimentKey)
GetArtifactOptions object to be used for getting details about
particular artifact version.options - the GetArtifactOptionsexperimentKey - the current experiment's keypublic static Map<QueryParamName,String> versionFilesParams(@NonNull @NonNull GetArtifactOptions options)
GetArtifactOptions object to be used for getting list of assets
associated with particular artifact.options - the GetArtifactOptionspublic static Map<QueryParamName,String> downloadAssetParams(@NonNull @NonNull DownloadArtifactAssetOptions options, @NonNull @NonNull String experimentKey)
DownloadArtifactAssetOptions to be used to download specific
asset associated with Comet artifact.options - the DownloadArtifactAssetOptionsexperimentKey - the current experiment's keypublic static String artifactFullName(String workspace, String name, String version)
workspace - the Comet workspace.name - the name of the artifact.version - the version of the artifact.Copyright © 2022. All rights reserved.