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

ml.comet.experiment.impl.asset.RemoteAssetImpl Maven / Gradle / Ivy

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

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import ml.comet.experiment.asset.RemoteAsset;

import java.net.URI;
import java.util.Optional;

/**
 * Describes remote asset data.
 */
@EqualsAndHashCode(callSuper = true)
public class RemoteAssetImpl extends AssetImpl implements RemoteAsset {
    @Getter
    @Setter
    private URI uri;

    @Override
    public Optional getLink() {
        return Optional.ofNullable(this.uri);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy