public abstract class AbstractRepositoryConnector 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<String,String> |
policies
Field policies.
|
private List<PropertyEntry> |
policiesEntries
field to ease json mapping wrapper on
policies field |
private Map<String,String> |
properties
Field properties.
|
private List<PropertyEntry> |
propertiesEntries
field to ease json mapping wrapper on
properties field |
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 |
---|
AbstractRepositoryConnector() |
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.
|
boolean |
equals(Object o) |
List<String> |
getBlackListPatterns()
Method getBlackListPatterns.
|
Map<String,String> |
getPolicies()
Method getPolicies.
|
List<PropertyEntry> |
getPoliciesEntries() |
String |
getPolicy(String policyId,
String defaultValue)
Obtain a specific policy from the underlying connector.
|
Map<String,String> |
getProperties()
Method getProperties.
|
List<PropertyEntry> |
getPropertiesEntries() |
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.
|
int |
hashCode() |
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<String,String> policies)
Set policy configuration for the connector.
|
void |
setPoliciesEntries(List<PropertyEntry> policiesEntries) |
void |
setProperties(Map<String,String> properties)
Set configuration for the connector.
|
void |
setPropertiesEntries(List<PropertyEntry> propertiesEntries) |
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.
|
String |
toString() |
private String sourceRepoId
private String targetRepoId
private List<String> blackListPatterns
private List<String> whiteListPatterns
private List<PropertyEntry> policiesEntries
policies
fieldprivate Map<String,String> properties
private List<PropertyEntry> propertiesEntries
properties
fieldprivate boolean disabled
public AbstractRepositoryConnector()
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<String,String> policies)
policies
- public void setProperties(Map<String,String> 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.public List<PropertyEntry> getPoliciesEntries()
public void setPoliciesEntries(List<PropertyEntry> policiesEntries)
public List<PropertyEntry> getPropertiesEntries()
public void setPropertiesEntries(List<PropertyEntry> propertiesEntries)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.