public class AbstractRepositoryConnectorConfiguration extends Object implements Serializable
Constructor and Description |
---|
AbstractRepositoryConnectorConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addBlackListPattern(String string)
Method addBlackListPattern.
|
void |
addPolicy(String key,
String value)
Method addPolicy.
|
void |
addProperty(String key,
String value)
Method addProperty.
|
void |
addWhiteListPattern(String string)
Method addWhiteListPattern.
|
List<String> |
getBlackListPatterns()
Method getBlackListPatterns.
|
Map<String,String> |
getPolicies()
Method getPolicies.
|
String |
getPolicy(String policyId,
String defaultValue)
Obtain a specific policy from the underlying connector.
|
Map<String,String> |
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.
|
public AbstractRepositoryConnectorConfiguration()
public void addBlackListPattern(String string)
string
- public void addPolicy(String key, String value)
key
- value
- public void addProperty(String key, String value)
key
- value
- public void addWhiteListPattern(String string)
string
- public List<String> getBlackListPatterns()
public Map<String,String> getPolicies()
public Map<String,String> 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–2019 The Apache Software Foundation. All rights reserved.