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

com.redhat.ceylon.model.cmr.ArtifactResult Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package com.redhat.ceylon.model.cmr;

import java.io.File;
import java.util.List;

/**
 * Artifact result.
 *
 * @author Ales Justin
 */
public interface ArtifactResult {
    /**
     * Get name.
     *
     * @return the artifact name.
     */
    String name();

    /**
     * Get version.
     *
     * @return the version.
     */
    String version();

    /**
     * Get import type.
     *
     * @return the import type
     */
    ImportType importType();

    /**
     * The result type.
     *
     * @return the type
     */
    ArtifactResultType type();

    /**
     * Get visibility type.
     *
     * @return visibility type
     */
    VisibilityType visibilityType();

    /**
     * The requested artifact.
     *
     * @return the requested artifact
     * @throws RepositoryException for any I/O error
     */
    File artifact() throws RepositoryException;

    /**
     * The resources filter.
     *
     * @return the path filter or null if there is none
     */
    PathFilter filter();

    /**
     * Dependencies.
     * 

* They could be lazily recursively fetched * or they could be fetched in one go. * * @return dependencies, empty list if none * @throws RepositoryException for any I/O error */ List dependencies() throws RepositoryException; /** * Get the display string of the repository this * result comes from * * @return the repository display string. */ String repositoryDisplayString(); /** * Get the repository this result was resolved from. * * @return the repository this result was resolved from. */ Repository repository(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy