public static class ProxyFacetSupport.ProxyConfig extends Object implements ProxyRepositoryConfiguration
Modifier and Type | Field and Description |
---|---|
@NotNull Integer |
contentMaxAge
Content max-age minutes.
|
@NotNull Integer |
metadataMaxAge
Metadata max-age minutes.
|
@NotNull URI |
remoteUrl |
Constructor and Description |
---|
ProxyConfig() |
Modifier and Type | Method and Description |
---|---|
Duration |
getContentMaxAge()
Content max-age.
|
Duration |
getMetadataMaxAge()
Metadata max-age.
|
URI |
getRemoteURL()
The remote URI of the proxy repository.
|
String |
toString() |
@NotNull public @NotNull URI remoteUrl
@NotNull public @NotNull Integer contentMaxAge
@NotNull public @NotNull Integer metadataMaxAge
public Duration getContentMaxAge()
getContentMaxAge
in interface ProxyRepositoryConfiguration
public Duration getMetadataMaxAge()
getMetadataMaxAge
in interface ProxyRepositoryConfiguration
public URI getRemoteURL()
getRemoteURL
in interface ProxyRepositoryConfiguration
Copyright © 2008–2022 Sonatype, Inc.. All rights reserved.