public class RemoteRepository extends AbstractRepository implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
checkPath |
private String |
cronExpression
default model value daily : every sunday at 8H00
|
private boolean |
downloadRemoteIndex
Activate download of remote index if remoteIndexUrl is set too.
|
private boolean |
downloadRemoteIndexOnStartup |
private Map<String,String> |
extraHeaders
extraHeaders.
|
private List<PropertyEntry> |
extraHeadersEntries
field to ease json mapping wrapper on
extraHeaders field |
private Map<String,String> |
extraParameters
extraParameters.
|
private List<PropertyEntry> |
extraParametersEntries
field to ease json mapping wrapper on
extraParameters field |
private String |
password |
private String |
remoteDownloadNetworkProxyId |
private int |
remoteDownloadTimeout |
private String |
remoteIndexUrl
Remote Index Url : if not starting with http will be relative to the remote repository url.
|
private int |
timeout |
private String |
url |
private String |
userName |
Constructor and Description |
---|
RemoteRepository() |
RemoteRepository(String id,
String name,
String url,
String layout) |
RemoteRepository(String id,
String name,
String url,
String layout,
String userName,
String password,
int timeout) |
RemoteRepository(String id,
String name,
String url,
String layout,
String userName,
String password,
int timeout,
String description) |
equals, getDescription, getId, getIndexDirectory, getLayout, getName, hashCode, setDescription, setId, setIndexDirectory, setLayout, setName
private int timeout
private String checkPath
private boolean downloadRemoteIndex
private String remoteIndexUrl
private String remoteDownloadNetworkProxyId
private String cronExpression
private int remoteDownloadTimeout
private boolean downloadRemoteIndexOnStartup
private Map<String,String> extraParameters
private List<PropertyEntry> extraParametersEntries
extraParameters
fieldprivate Map<String,String> extraHeaders
private List<PropertyEntry> extraHeadersEntries
extraHeaders
fieldpublic RemoteRepository()
public RemoteRepository(String id, String name, String url, String layout)
public RemoteRepository(String id, String name, String url, String layout, String userName, String password, int timeout)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public int getTimeout()
public void setTimeout(int timeout)
public boolean isDownloadRemoteIndex()
public void setDownloadRemoteIndex(boolean downloadRemoteIndex)
public String getRemoteIndexUrl()
public void setRemoteIndexUrl(String remoteIndexUrl)
public String getRemoteDownloadNetworkProxyId()
public void setRemoteDownloadNetworkProxyId(String remoteDownloadNetworkProxyId)
public String getCronExpression()
public void setCronExpression(String cronExpression)
public int getRemoteDownloadTimeout()
public void setRemoteDownloadTimeout(int remoteDownloadTimeout)
public boolean isDownloadRemoteIndexOnStartup()
public void setDownloadRemoteIndexOnStartup(boolean downloadRemoteIndexOnStartup)
public Map<String,String> getExtraParameters()
public void setExtraParameters(Map<String,String> extraParameters)
public void addExtraParameter(String key, String value)
public List<PropertyEntry> getExtraParametersEntries()
public void setExtraParametersEntries(List<PropertyEntry> extraParametersEntries)
public Map<String,String> getExtraHeaders()
public void setExtraHeaders(Map<String,String> extraHeaders)
public void addExtraHeader(String key, String value)
public List<PropertyEntry> getExtraHeadersEntries()
public void setExtraHeadersEntries(List<PropertyEntry> extraHeadersEntries)
public void setCheckPath(String checkPath)
public String getCheckPath()
public String toString()
toString
in class AbstractRepository
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.