|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.archiva.configuration.AbstractRepositoryConnectorConfiguration
public class AbstractRepositoryConnectorConfiguration
Class AbstractRepositoryConnectorConfiguration.
Field Summary | |
---|---|
private List<String> |
blackListPatterns
Field blackListPatterns. |
private boolean |
disabled
If the the repository proxy connector is disabled or not . |
private Map |
policies
Field policies. |
private Map |
properties
Field properties. |
private String |
proxyId
The network proxy ID to use for this connector. |
private String |
sourceRepoId
The Repository Source for this connector. |
private String |
targetRepoId
The Repository Target for this connector. |
private List<String> |
whiteListPatterns
Field whiteListPatterns. |
Constructor Summary | |
---|---|
AbstractRepositoryConnectorConfiguration()
|
Method Summary | |
---|---|
void |
addBlackListPattern(String string)
Method addBlackListPattern. |
void |
addPolicy(Object key,
String value)
Method addPolicy. |
void |
addProperty(Object key,
String value)
Method addProperty. |
void |
addWhiteListPattern(String string)
Method addWhiteListPattern. |
List<String> |
getBlackListPatterns()
Method getBlackListPatterns. |
Map |
getPolicies()
Method getPolicies. |
String |
getPolicy(String policyId,
String defaultValue)
Obtain a specific policy from the underlying connector. |
Map |
getProperties()
Method getProperties. |
String |
getProxyId()
Get the network proxy ID to use for this connector. |
String |
getSourceRepoId()
Get the Repository Source for this connector. |
String |
getTargetRepoId()
Get the Repository Target for this connector. |
List<String> |
getWhiteListPatterns()
Method getWhiteListPatterns. |
boolean |
isDisabled()
Get if the the repository proxy connector is disabled or not. |
void |
removeBlackListPattern(String string)
Method removeBlackListPattern. |
void |
removeWhiteListPattern(String string)
Method removeWhiteListPattern. |
void |
setBlackListPatterns(List<String> blackListPatterns)
Set the list of blacklisted patterns for this connector. |
void |
setDisabled(boolean disabled)
Set if the the repository proxy connector is disabled or not. |
void |
setPolicies(Map policies)
Set policy configuration for the connector. |
void |
setProperties(Map properties)
Set configuration for the connector. |
void |
setProxyId(String proxyId)
Set the network proxy ID to use for this connector. |
void |
setSourceRepoId(String sourceRepoId)
Set the Repository Source for this connector. |
void |
setTargetRepoId(String targetRepoId)
Set the Repository Target for this connector. |
void |
setWhiteListPatterns(List<String> whiteListPatterns)
Set the list of whitelisted patterns for this connector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String sourceRepoId
private String targetRepoId
private String proxyId
private List<String> blackListPatterns
private List<String> whiteListPatterns
private Map policies
private Map properties
private boolean disabled
Constructor Detail |
---|
public AbstractRepositoryConnectorConfiguration()
Method Detail |
---|
public void addBlackListPattern(String string)
string
- public void addPolicy(Object key, String value)
key
- value
- public void addProperty(Object key, String value)
key
- value
- public void addWhiteListPattern(String string)
string
- public List<String> getBlackListPatterns()
public Map getPolicies()
public Map getProperties()
public String getProxyId()
public String getSourceRepoId()
public String getTargetRepoId()
public List<String> getWhiteListPatterns()
public boolean isDisabled()
public void removeBlackListPattern(String string)
string
- public void removeWhiteListPattern(String string)
string
- public void setBlackListPatterns(List<String> blackListPatterns)
blackListPatterns
- public void setDisabled(boolean disabled)
disabled
- public void setPolicies(Map policies)
policies
- public void setProperties(Map properties)
properties
- public void setProxyId(String proxyId)
proxyId
- public void setSourceRepoId(String sourceRepoId)
sourceRepoId
- public void setTargetRepoId(String targetRepoId)
targetRepoId
- public void setWhiteListPatterns(List<String> whiteListPatterns)
whiteListPatterns
- public String getPolicy(String policyId, String defaultValue)
policyId
- the policy id to fetch.defaultValue
- the default value for the policy id.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |