public class ProxyConnector extends Object implements RepositoryConnector
Modifier and Type | Field and Description |
---|---|
private List<String> |
blacklist |
private boolean |
disabled |
private int |
order |
private Map<String,String> |
policies |
private String |
proxyId |
private ManagedRepositoryContent |
sourceRepository |
private RemoteRepositoryContent |
targetRepository |
private List<String> |
whitelist |
Constructor and Description |
---|
ProxyConnector() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getBlacklist() |
int |
getOrder() |
Map<String,String> |
getPolicies() |
String |
getProxyId() |
ManagedRepositoryContent |
getSourceRepository() |
RemoteRepositoryContent |
getTargetRepository() |
List<String> |
getWhitelist() |
boolean |
isDisabled() |
void |
setBlacklist(List<String> blacklist) |
void |
setDisabled(boolean disabled) |
void |
setOrder(int order) |
void |
setPolicies(Map<String,String> policies) |
void |
setPolicy(String policyId,
String policySetting) |
void |
setProxyId(String proxyId) |
void |
setSourceRepository(ManagedRepositoryContent sourceRepository) |
void |
setTargetRepository(RemoteRepositoryContent targetRepository) |
void |
setWhitelist(List<String> whitelist) |
String |
toString() |
private ManagedRepositoryContent sourceRepository
private RemoteRepositoryContent targetRepository
private int order
private boolean disabled
public ProxyConnector()
public boolean isDisabled()
isDisabled
in interface RepositoryConnector
public void setDisabled(boolean disabled)
setDisabled
in interface RepositoryConnector
public List<String> getBlacklist()
getBlacklist
in interface RepositoryConnector
public void setBlacklist(List<String> blacklist)
public ManagedRepositoryContent getSourceRepository()
getSourceRepository
in interface RepositoryConnector
public void setSourceRepository(ManagedRepositoryContent sourceRepository)
public RemoteRepositoryContent getTargetRepository()
getTargetRepository
in interface RepositoryConnector
public void setTargetRepository(RemoteRepositoryContent targetRepository)
public List<String> getWhitelist()
getWhitelist
in interface RepositoryConnector
public void setWhitelist(List<String> whitelist)
public Map<String,String> getPolicies()
public void setPolicies(Map<String,String> policies)
public String getProxyId()
public void setProxyId(String proxyId)
public int getOrder()
public void setOrder(int order)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.