public class RemoteIndexFeature extends Object implements RepositoryFeature<RemoteIndexFeature>
| Constructor and Description | 
|---|
| RemoteIndexFeature() | 
| Modifier and Type | Method and Description | 
|---|---|
| RemoteIndexFeature | get()Returns the concrete feature instance. | 
| Duration | getDownloadTimeout()Returns the timeout after that the remote index download is aborted. | 
| URI | getIndexUri()The URI to access the remote index. | 
| String | getProxyId()Returns the id of the proxy, that should be used to download the remote index. | 
| boolean | hasIndex()Returns true, if there is a index available. | 
| boolean | isDownloadRemoteIndex()True, if the remote index should be downloaded. | 
| boolean | isDownloadRemoteIndexOnStartup()Returns true, if the remote index should be downloaded on startup of the repository. | 
| void | setDownloadRemoteIndex(boolean downloadRemoteIndex) | 
| void | setDownloadRemoteIndexOnStartup(boolean downloadRemoteIndexOnStartup)Sets the flag for download of the remote repository index. | 
| void | setDownloadTimeout(Duration timeout)Sets the timeout after that a remote index download will be aborted. | 
| void | setIndexUri(URI indexUri)Sets the URI to access the remote index. | 
| void | setProxyId(String proxyId)Sets the id of the proxy that should be used to download the remote index. | 
| String | toString() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, isFeature, isFeaturepublic RemoteIndexFeature()
public RemoteIndexFeature get()
RepositoryFeatureget in interface RepositoryFeature<RemoteIndexFeature>public boolean isDownloadRemoteIndex()
public void setDownloadRemoteIndex(boolean downloadRemoteIndex)
public URI getIndexUri()
public void setIndexUri(URI indexUri)
indexUri - The URI of the indexpublic boolean isDownloadRemoteIndexOnStartup()
public void setDownloadRemoteIndexOnStartup(boolean downloadRemoteIndexOnStartup)
downloadRemoteIndexOnStartup - public Duration getDownloadTimeout()
public void setDownloadTimeout(Duration timeout)
timeout - The durationpublic String getProxyId()
public void setProxyId(String proxyId)
proxyId - public boolean hasIndex()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.