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

ml.comet.experiment.artifact.ArtifactAsset Maven / Gradle / Ivy

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

import ml.comet.experiment.asset.RemoteAsset;

import java.util.Optional;

/**
 * Defines the public contract of the asset associated with specific artifact.
 */
public interface ArtifactAsset extends RemoteAsset {

    /**
     * Returns the optional size of this asset if appropriate.
     *
     * @return the optional size of this asset if appropriate.
     */
    Optional getSize();

    /**
     * Returns {@code true} if this is remote asset, i.e., providing {@code URI} to the remote location to download
     * content.
     *
     * @return {@code true} if this is remote asset.
     */
    boolean isRemote();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy