@Override public String toString() { return getState() + " " + getArtifact() + " - " + ( isExistenceCheck() ? "?" : "" ) + getFile(); }
new GetTask<ArtifactTransfer>( resource, download.isExistenceCheck() ? null : download.getFile(), download.getChecksumPolicy(), latch, download, ARTIFACT, true ); tasks.add( task );
new GetTask<ArtifactTransfer>( resource, download.isExistenceCheck() ? null : download.getFile(), download.getChecksumPolicy(), latch, download, ARTIFACT, true ); tasks.add( task );
new GetTask<ArtifactTransfer>( resource, download.isExistenceCheck() ? null : download.getFile(), download.getChecksumPolicy(), download, ARTIFACT ); tasks.add( task );
new UpdateCheck<Artifact, ArtifactTransferException>(); check.setItem( artifact ); check.setFile( download.getFile() ); check.setFileValid( !download.isExistenceCheck() ); check.setRepository( group.repository ); try artifact = artifact.setFile( getFile( session, artifact, download.getFile() ) ); item.result.setArtifact( artifact );
new UpdateCheck<Artifact, ArtifactTransferException>(); check.setItem( artifact ); check.setFile( download.getFile() ); check.setFileValid( !download.isExistenceCheck() ); check.setRepository( group.repository ); try artifact = artifact.setFile( getFile( session, artifact, download.getFile() ) ); item.result.setArtifact( artifact );