Modifier and Type | Method and Description |
---|---|
private void |
AbstractRepositoryPurge.removeArtifact(MetadataRepository metadataRepository,
AbstractRepositoryPurge.ArtifactInfo artifactInfo,
ArtifactMetadata artifactMetadata) |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractRepositoryPurge.purgeMetadata(MetadataRepository metadataRepository,
Map<AbstractRepositoryPurge.ArtifactInfo,ArtifactMetadata> dataList) |
Modifier and Type | Method and Description |
---|---|
List<ArtifactMetadata> |
MetadataRepository.getArtifacts(String repositoryId) |
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifacts(String repositoryId) |
Collection<ArtifactMetadata> |
MetadataRepository.getArtifacts(String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<ArtifactMetadata> |
AbstractMetadataRepository.getArtifacts(String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<ArtifactMetadata> |
MetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
Collection<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByDateRange(String repositoryId,
Date startTime,
Date endTime)
if startTime or endTime are
null they are not used for search |
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByDateRange(String repositoryId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId)
Get artifacts with an artifact metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId)
Get artifacts with a project version metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId)
Get artifacts with a property key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
Collection<ArtifactMetadata> |
DefaultMetadataResolver.resolveArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<ArtifactMetadata> |
MetadataResolver.resolveArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact)
Full text artifacts search.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact)
Full text artifacts search inside the specified key.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion)
used for deleting timestamped version of SNAPSHOT artifacts
|
void |
AbstractMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
MetadataRepository.updateArtifact(String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
AbstractMetadataRepository.updateArtifact(String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
Modifier and Type | Method and Description |
---|---|
private Collection<String> |
DefaultMetadataResolver.createArtifactIdList(Collection<ArtifactMetadata> artifacts) |
Modifier and Type | Method and Description |
---|---|
protected ArtifactMetadata |
CassandraMetadataRepository.mapArtifactMetadataLongColumnSlice(me.prettyprint.hector.api.beans.ColumnSlice<String,Long> columnSlice) |
protected ArtifactMetadata |
CassandraMetadataRepository.mapArtifactMetadataStringColumnSlice(me.prettyprint.hector.api.beans.ColumnSlice<String,String> columnSlice) |
Modifier and Type | Method and Description |
---|---|
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifacts(String repositoryId) |
Collection<ArtifactMetadata> |
CassandraMetadataRepository.getArtifacts(String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByDateRange(String repositoryId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId)
Project version and artifact level metadata are stored in the same place, no distinctions in Cassandra
implementation, just calls
CassandraMetadataRepository.getArtifactsByMetadata(String, String, String) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
private List<ArtifactMetadata> |
CassandraMetadataRepository.mapArtifactMetadataToArtifact(me.prettyprint.hector.api.query.QueryResult<me.prettyprint.hector.api.beans.OrderedRows<String,String,String>> result,
List<ArtifactMetadata> artifactMetadatas)
Attach metadata to each of the ArtifactMetadata objects
|
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact)
This implementation just calls getArtifactsByMetadata( null, text, repositoryId ).
|
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact)
The exact parameter is ignored as we can't do non exact searches in Cassandra
|
Modifier and Type | Method and Description |
---|---|
void |
CassandraMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
CassandraMetadataRepository.updateArtifact(String repositoryId,
String namespaceId,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
Modifier and Type | Method and Description |
---|---|
private List<ArtifactMetadata> |
CassandraMetadataRepository.mapArtifactMetadataToArtifact(me.prettyprint.hector.api.query.QueryResult<me.prettyprint.hector.api.beans.OrderedRows<String,String,String>> result,
List<ArtifactMetadata> artifactMetadatas)
Attach metadata to each of the ArtifactMetadata objects
|
Modifier and Type | Method and Description |
---|---|
List<ArtifactMetadata> |
FileMetadataRepository.getArtifacts(String repoId) |
Collection<ArtifactMetadata> |
FileMetadataRepository.getArtifacts(String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByDateRange(String repoId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
FileMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact) |
List<ArtifactMetadata> |
FileMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
int |
FileMetadataRepository.ArtifactComparator.compare(ArtifactMetadata artifact1,
ArtifactMetadata artifact2) |
void |
FileMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
FileMetadataRepository.updateArtifact(String repoId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifact) |
private void |
FileMetadataRepository.updateArtifactFacets(ArtifactMetadata artifact,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
private void |
FileMetadataRepository.getArtifacts(List<ArtifactMetadata> artifacts,
String repoId,
String ns) |
private void |
FileMetadataRepository.getArtifactsByChecksum(List<ArtifactMetadata> artifacts,
String repositoryId,
String ns,
String checksum) |
private void |
FileMetadataRepository.getArtifactsByDateRange(List<ArtifactMetadata> artifacts,
String repoId,
String ns,
Date startTime,
Date endTime) |
Modifier and Type | Method and Description |
---|---|
private ArtifactMetadata |
JcrMetadataRepository.getArtifactFromNode(String repositoryId,
javax.jcr.Node artifactNode) |
Modifier and Type | Method and Description |
---|---|
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifacts(String repositoryId) |
Collection<ArtifactMetadata> |
JcrMetadataRepository.getArtifacts(String repositoryId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByDateRange(String repoId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
private List<ArtifactMetadata> |
JcrMetadataRepository.runJcrQuery(String repositoryId,
String q,
Map<String,String> bindings) |
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact)
Exact is ignored as we can't do exact search in any property, we need a key
|
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
void |
JcrMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
JcrMetadataRepository.updateArtifact(String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
Modifier and Type | Method and Description |
---|---|
ArtifactMetadata |
RepositoryPathTranslator.getArtifactForPath(String repoId,
String relativePath) |
ArtifactMetadata |
RepositoryPathTranslator.getArtifactFromId(String repoId,
String namespace,
String projectId,
String projectVersion,
String id) |
ArtifactMetadata |
RepositoryStorage.readArtifactMetadataFromPath(String repoId,
String path) |
Modifier and Type | Method and Description |
---|---|
Collection<ArtifactMetadata> |
RepositoryStorage.readArtifactsMetadata(ReadMetadataRequest readMetadataRequest) |
Modifier and Type | Method and Description |
---|---|
ArtifactMetadata |
Maven2RepositoryPathTranslator.getArtifactForPath(String repoId,
String relativePath) |
private ArtifactMetadata |
Maven2RepositoryStorage.getArtifactFromFile(String repoId,
String namespace,
String projectId,
String projectVersion,
File file) |
ArtifactMetadata |
Maven2RepositoryPathTranslator.getArtifactFromId(String repoId,
String namespace,
String projectId,
String projectVersion,
String id) |
ArtifactMetadata |
Maven2RepositoryStorage.readArtifactMetadataFromPath(String repoId,
String path) |
Modifier and Type | Method and Description |
---|---|
Collection<ArtifactMetadata> |
Maven2RepositoryStorage.readArtifactsMetadata(ReadMetadataRequest readMetadataRequest) |
Modifier and Type | Method and Description |
---|---|
int |
ArtifactMetadataVersionComparator.compare(ArtifactMetadata o1,
ArtifactMetadata o2) |
private static void |
Maven2RepositoryStorage.populateArtifactMetadataFromFile(ArtifactMetadata metadata,
File file) |
Modifier and Type | Method and Description |
---|---|
protected List<Artifact> |
AbstractRestService.buildArtifacts(Collection<ArtifactMetadata> artifactMetadatas,
String repositoryId) |
private void |
DefaultMergeRepositoriesService.mergeWithOutSnapshots(MetadataRepository metadataRepository,
List<ArtifactMetadata> sourceArtifacts,
String sourceRepoId,
String repoid) |
Modifier and Type | Field and Description |
---|---|
private ArtifactMetadata |
ArtifactBuilder.artifactMetadata |
Modifier and Type | Method and Description |
---|---|
ArtifactBuilder |
ArtifactBuilder.forArtifactMetadata(ArtifactMetadata artifactMetadata) |
Modifier and Type | Method and Description |
---|---|
List<ArtifactMetadata> |
RepositoryMerger.getConflictingArtifacts(MetadataRepository metadataRepository,
String sourceRepo,
String targetRepo) |
List<ArtifactMetadata> |
Maven2RepositoryMerger.getConflictingArtifacts(MetadataRepository metadataRepository,
String sourceRepo,
String targetRepo) |
Modifier and Type | Method and Description |
---|---|
private void |
Maven2RepositoryMerger.createFolderStructure(String sourceRepoId,
String targetRepoId,
ArtifactMetadata artifactMetadata) |
private boolean |
Maven2RepositoryMerger.isEquals(ArtifactMetadata sourceArtifact,
ArtifactMetadata targetArtifact) |
private void |
Maven2RepositoryMerger.updateProjectMetadata(File projectMetaDataFileIntargetRepo,
ArtifactMetadata artifactMetadata,
Date lastUpdatedTimestamp,
String timestamp) |
private void |
Maven2RepositoryMerger.updateVersionMetadata(File versionMetaDataFileInTargetRepo,
ArtifactMetadata artifactMetadata,
Date lastUpdatedTimestamp) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryMerger.merge(MetadataRepository metadataRepository,
String sourceRepoId,
String targetRepoId,
Filter<ArtifactMetadata> filter) |
void |
Maven2RepositoryMerger.merge(MetadataRepository metadataRepository,
String sourceRepoId,
String targetRepoId,
Filter<ArtifactMetadata> filter) |
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.