All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ml.comet.experiment.impl.utils.ArtifactUtils Maven / Gradle / Ivy

There is a newer version: 1.1.14
Show newest version
package ml.comet.experiment.impl.utils;

import lombok.experimental.UtilityClass;

/**
 * Utilities to work with artifacts.
 */
@UtilityClass
public class ArtifactUtils {

    /**
     * Creates standard full name of the artifact in form 'workspace/name:version'.
     *
     * @param workspace the Comet workspace.
     * @param name      the name of the artifact.
     * @param version   the version of the artifact.
     * @return the standard full name of the artifact.
     */
    public static String artifactFullName(String workspace, String name, String version) {
        return String.format("%s/%s:%s", workspace, name, version);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy