public class AbstractRepositoryConnectorConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AbstractRepositoryConnectorConfiguration() |
Modifier and Type | Method and Description |
---|---|
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.
|
private String sourceRepoId
private String targetRepoId
private List<String> blackListPatterns
private List<String> whiteListPatterns
private Map properties
private boolean disabled
public AbstractRepositoryConnectorConfiguration()
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
- Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.