public abstract class ReplicationIngesterSupport extends org.sonatype.goodies.common.ComponentSupport implements ReplicationIngester
ASSET_ATTRIBUTES_PREFIX, COMPONENT_ATTRIBUTES_PREFIX, VALUE_DATE_PREFIX, VALUE_DATE_TIME_PREFIX, VALUE_JODA_DATE_TIME_PREFIX
Constructor and Description |
---|
ReplicationIngesterSupport(org.sonatype.nexus.blobstore.api.BlobStoreManager blobstoreManager,
ReplicationIngesterHelper replicationIngesterHelper) |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertAttributeValue(String key,
String value) |
Map<String,Object> |
extractAssetAttributesFromProperties(Properties props) |
Map<String,Object> |
extractComponentAttributesFromProperties(Properties props) |
void |
ingestBlob(String blobIdString,
String blobStoreId,
String repositoryName,
BlobEventType eventType) |
protected void |
unflattenAttributes(Map<String,Object> backing,
String root,
String[] children,
Object value)
Recursively unflattens a dot separated String in a Map
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormat
public ReplicationIngesterSupport(org.sonatype.nexus.blobstore.api.BlobStoreManager blobstoreManager, ReplicationIngesterHelper replicationIngesterHelper)
public Map<String,Object> extractAssetAttributesFromProperties(Properties props)
public Map<String,Object> extractComponentAttributesFromProperties(Properties props)
public void ingestBlob(String blobIdString, String blobStoreId, String repositoryName, BlobEventType eventType) throws ReplicationIngestionException
ingestBlob
in interface ReplicationIngester
ReplicationIngestionException
protected void unflattenAttributes(Map<String,Object> backing, String root, String[] children, Object value)
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.