|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xiruss.snapcm.api.NullRepositoryObject
org.xiruss.snapcm.api.NullResolutionPolicy
public class NullResolutionPolicy
| Constructor Summary | |
|---|---|
NullResolutionPolicy()
|
|
| Method Summary | |
|---|---|
Version |
applyPolicy(Version sourceVersion,
Resource targetResource,
Snapshot onSnapshot)
Applies a policy and returns a collection of zero or more result versions. |
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 |
setParameter(java.lang.String name,
java.lang.String value)
Sets a parameter of the resolution policy instance. |
| Methods inherited from class org.xiruss.snapcm.api.NullRepositoryObject |
|---|
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, isNull, setId, setName, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 NullResolutionPolicy()
| Method Detail |
|---|
public Version applyPolicy(Version sourceVersion,
Resource targetResource,
Snapshot onSnapshot)
throws RepositoryException
ResolutionPolicy
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 void initialize(java.util.Map parameters)
ResolutionPolicy
initialize in interface ResolutionPolicypublic java.lang.String getPolicyTypeName()
ResolutionPolicy
getPolicyTypeName in interface ResolutionPolicypublic java.util.Map getParams()
ResolutionPolicy
getParams 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 | |||||||||