Edit P2LayoutProvider .
@@ -2,13 +2,17 @@ package org.carlspring.strongbox.providers.layout;
import org.carlspring.strongbox.artifact.coordinates.ArtifactCoordinates;
import org.carlspring.strongbox.artifact.coordinates.P2ArtifactCoordinates;
+import org.carlspring.strongbox.client.ArtifactTransportException;
+import org.carlspring.strongbox.providers.ProviderImplementationException;
import org.carlspring.strongbox.providers.layout.p2.P2ArtifactReader;
import org.carlspring.strongbox.storage.Storage;
import org.carlspring.strongbox.storage.repository.Repository;
+import org.carlspring.strongbox.storage.repository.UnknownRepositoryTypeException;
import java.io.FilenameFilter;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
+import java.util.List;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import org.slf4j.Logger;
@@ -89,15 +93,19 @@ public class P2LayoutProvider
}
@Override
- public void regenerateChecksums(String storageId,
- String repositoryId,
- String basePath,
+ public void regenerateChecksums(Repository repository,
+ List<String> versionDirectories,
boolean forceRegeneration)
- throws IOException
+ throws IOException,
+ NoSuchAlgorithmException,
+ ProviderImplementationException,
+ UnknownRepositoryTypeException,
+ ArtifactTransportException
{
throw new UnsupportedOperationException("Not yet implemented!");
}
+
@Override
public boolean containsArtifact(Repository repository,
ArtifactCoordinates coordinates)
