|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xiruss.xirussrepository.client.RepositoryObjectProxy
org.xiruss.xirussrepository.client.ResolutionPolicyProxy
public abstract class ResolutionPolicyProxy
| Field Summary |
|---|
| Fields inherited from class org.xiruss.xirussrepository.client.RepositoryObjectProxy |
|---|
cHelper, logger, objectTypeCode, pathToMe |
| Constructor Summary | |
|---|---|
ResolutionPolicyProxy()
|
|
| Method Summary | |
|---|---|
Version |
applyPolicy(Version sourceVersion,
Resource targetResource,
Snapshot onSnapshot)
This is the base resolution behavior. |
java.lang.String |
getParameter(java.lang.String paramName)
Returns the value of the specified parameter. |
java.util.Map |
getParams()
Returns the map of name/value pairs representing the specific parameter values the policy was created with. |
java.lang.String |
getPolicyTypeName()
Returns the repository-implementation-unique name for the policy, i.e., the class name. |
void |
initialize(java.util.Map parameters)
Initialize the new policy instance with a set of parameters. |
void |
initialize(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
|
void |
setParameter(java.lang.String name,
java.lang.String value)
Sets a parameter of the resolution policy instance. |
| Methods inherited from class org.xiruss.xirussrepository.client.RepositoryObjectProxy |
|---|
accept, compareTo, doPost, doStringReturnPost, equals, getBooleanValue, getId, getName, getOriginalClassName, getPathToMe, getProperties, getProperty, getPropertyNames, getRepository, getStringReturnValue, getStringSetReturnValue, getType, hasProperty, initialize, isNull, loadRepositoryObjectData, setId, setName, setProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xiruss.snapcm.api.RepositoryObject |
|---|
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, isNull, setId, setName, setProperty, toString |
| Constructor Detail |
|---|
public ResolutionPolicyProxy()
| Method Detail |
|---|
public void initialize(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
throws XirussRepositoryException
initialize in class RepositoryObjectProxyXirussRepositoryException
public Version applyPolicy(Version sourceVersion,
Resource targetResource,
Snapshot onSnapshot)
throws RepositoryException
applyPolicy in interface ResolutionPolicysourceVersion - The version the dependency is fromtargetResource - The resource the depencency targetsonSnapshot - The snapshot that establishes the visibility context within which
the policy is resolved.
RepositoryExceptionpublic java.util.Map getParams()
ResolutionPolicy
getParams in interface ResolutionPolicypublic java.lang.String getPolicyTypeName()
ResolutionPolicy
getPolicyTypeName in interface ResolutionPolicypublic void initialize(java.util.Map parameters)
ResolutionPolicy
initialize in interface ResolutionPolicy
public void setParameter(java.lang.String name,
java.lang.String value)
ResolutionPolicy
setParameter in interface ResolutionPolicypublic java.lang.String getParameter(java.lang.String paramName)
ResolutionPolicy
getParameter in interface ResolutionPolicyparamName - Name of the parameter to get;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||