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

com.artipie.composer.AllPackages Maven / Gradle / Ivy

/*
 * The MIT License (MIT) Copyright (c) 2020-2023 artipie.com
 * https://github.com/artipie/artipie/blob/master/LICENSE.txt
 */
package com.artipie.composer;

import com.artipie.asto.Key;
import java.util.Collections;
import java.util.List;
import java.util.Optional;

/**
 * Key for all packages value.
 *
 * @since 0.1
 */
public final class AllPackages implements Key {

    @Override
    public String string() {
        return "packages.json";
    }

    @Override
    public Optional parent() {
        return Optional.empty();
    }

    @Override
    public List parts() {
        return Collections.singletonList(this.string());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy