|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.archiva.admin.model.AbstractRepositoryConnector
public abstract class AbstractRepositoryConnector
Field Summary | |
---|---|
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 Summary | |
---|---|
AbstractRepositoryConnector()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private String sourceRepoId
private String targetRepoId
private String proxyId
private List<String> blackListPatterns
private List<String> whiteListPatterns
private Map<String,String> policies
private List<PropertyEntry> policiesEntries
policies
field
private Map<String,String> properties
private List<PropertyEntry> propertiesEntries
properties
field
private boolean disabled
Constructor Detail |
---|
public AbstractRepositoryConnector()
Method Detail |
---|
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)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |