core/src/main/java/org/commonjava/indy/core/content/DefaultDownloadManager.java
@Override
    @Measure( timers = @MetricNamed( DEFAULT ) )
    public List<Transfer> retrieveAll( final List<? extends ArtifactStore> stores, final String path,
                                       final EventMetadata eventMetadata )
            throws IndyWorkflowException
    {
        try
        {
            List<Transfer> txfrs = transfers.retrieveAll(
                    locationExpander.expand( new VirtualResource( LocationUtils.toLocations( stores ), path ) ),
                    eventMetadata );

            return txfrs;
        }
        catch ( final TransferException e )
        {
            logger.error( e.getMessage(), e );
            throw new IndyWorkflowException( "Failed to retrieve ALL paths: {} from: {}. Reason: {}", e, path, stores,
                                             e.getMessage() );
        }
    }
@Override
    @Measure( timers = @MetricNamed( DEFAULT ) )
    public List<Transfer> retrieveAll( final List<? extends ArtifactStore> stores, final String path,
                                       final EventMetadata eventMetadata )
            throws IndyWorkflowException
    {
        try
        {
            List<Transfer> txfrs = transfers.retrieveAll(
                    locationExpander.expand( new VirtualResource( LocationUtils.toLocations( stores ), path ) ),
                    eventMetadata );

            return txfrs;
        }
        catch ( final TransferException e )
        {
            logger.error( e.getMessage(), e );
            throw new IndyWorkflowException( "Failed to retrieve ALL paths: {} from: {}. Reason: {}", e, path, stores,
                                             e.getMessage() );
        }
    }
@ Override @ Measure ( timers = @ MetricNamed ( DEFAULT ) ) public List < Transfer > retrieveAll ( final List < ? extends ArtifactStore > stores , final String path , final EventMetadata eventMetadata ) throws IndyWorkflowException { try { List < Transfer > txfrs = transfers . retrieveAll ( locationExpander . expand ( new VirtualResource ( LocationUtils . toLocations ( stores ) , path ) ) , eventMetadata ) ; return txfrs ; } catch ( final TransferException e ) { logger . error ( e . getMessage ( ) , e ) ; throw new IndyWorkflowException ( "Failed to retrieve ALL paths: {} from: {}. Reason: {}" , e , path , stores , e . getMessage ( ) ) ; } }
/*
(non-Javadoc)
@see org.commonjava.indy.core.rest.util.FileManager#downloadAll(java.util.List, java.lang.String)
/ * ( non - Javadoc )