@Named(value="default") public class SimpleApiRepositoryAdapter extends Object implements ApiRepositoryAdapter
Constructor and Description |
---|
SimpleApiRepositoryAdapter(org.sonatype.nexus.repository.routing.RoutingRuleStore routingRuleStore) |
Modifier and Type | Method and Description |
---|---|
AbstractApiRepository |
adapt(org.sonatype.nexus.repository.Repository repository) |
protected CleanupPolicyAttributes |
getCleanupPolicyAttributes(org.sonatype.nexus.repository.Repository repository) |
protected ComponentAttributes |
getComponentAttributes(org.sonatype.nexus.repository.Repository repository) |
protected GroupDeployAttributes |
getGroupAttributes(org.sonatype.nexus.repository.Repository repository) |
protected HostedStorageAttributes |
getHostedStorageAttributes(org.sonatype.nexus.repository.Repository repository) |
protected HttpClientAttributes |
getHttpClientAttributes(org.sonatype.nexus.repository.Repository repository) |
protected NegativeCacheAttributes |
getNegativeCacheAttributes(org.sonatype.nexus.repository.Repository repository) |
protected ProxyAttributes |
getProxyAttributes(org.sonatype.nexus.repository.Repository repository) |
protected String |
getRoutingRuleName(org.sonatype.nexus.repository.Repository repository) |
protected StorageAttributes |
getStorageAttributes(org.sonatype.nexus.repository.Repository repository) |
protected static Integer |
toInt(Number num) |
protected static Integer |
toInt(Number num,
Integer defaultValue) |
protected static String |
toString(Object o,
Object defaultValue) |
@Inject public SimpleApiRepositoryAdapter(org.sonatype.nexus.repository.routing.RoutingRuleStore routingRuleStore)
public AbstractApiRepository adapt(org.sonatype.nexus.repository.Repository repository)
adapt
in interface ApiRepositoryAdapter
protected ComponentAttributes getComponentAttributes(org.sonatype.nexus.repository.Repository repository)
protected String getRoutingRuleName(org.sonatype.nexus.repository.Repository repository)
protected StorageAttributes getStorageAttributes(org.sonatype.nexus.repository.Repository repository)
protected HostedStorageAttributes getHostedStorageAttributes(org.sonatype.nexus.repository.Repository repository)
protected GroupDeployAttributes getGroupAttributes(org.sonatype.nexus.repository.Repository repository)
protected CleanupPolicyAttributes getCleanupPolicyAttributes(org.sonatype.nexus.repository.Repository repository)
protected ProxyAttributes getProxyAttributes(org.sonatype.nexus.repository.Repository repository)
protected NegativeCacheAttributes getNegativeCacheAttributes(org.sonatype.nexus.repository.Repository repository)
protected HttpClientAttributes getHttpClientAttributes(org.sonatype.nexus.repository.Repository repository)
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.