|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xiruss.xirussrepository.client.RepositoryObjectProxy org.xiruss.xirussrepository.client.ResolutionPolicyProxy org.xiruss.xirussrepository.client.SpecificVersionResolutionPolicyProxy
public class SpecificVersionResolutionPolicyProxy
Field Summary |
---|
Fields inherited from class org.xiruss.xirussrepository.client.RepositoryObjectProxy |
---|
cHelper, logger, objectTypeCode, pathToMe |
Fields inherited from interface org.xiruss.repository.api.SpecificVersionResolutionPolicy |
---|
VERSIONID_PARAM |
Constructor Summary | |
---|---|
SpecificVersionResolutionPolicyProxy()
|
Method Summary | |
---|---|
Version |
applyPolicy(Version sourceVersion,
Resource targetResource,
Snapshot onSnapshot)
This is the base resolution behavior. |
void |
setTargetVersion(Version targetVer)
Sets the specific version this resolution policy should resolve to. |
Methods inherited from class org.xiruss.xirussrepository.client.ResolutionPolicyProxy |
---|
getParameter, getParams, getPolicyTypeName, initialize, initialize, setParameter |
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.ResolutionPolicy |
---|
getParameter, getParams, getPolicyTypeName, initialize, setParameter |
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 SpecificVersionResolutionPolicyProxy()
Method Detail |
---|
public void setTargetVersion(Version targetVer)
SpecificVersionResolutionPolicy
setTargetVersion
in interface SpecificVersionResolutionPolicy
public Version applyPolicy(Version sourceVersion, Resource targetResource, Snapshot onSnapshot) throws RepositoryException
applyPolicy
in interface ResolutionPolicy
applyPolicy
in class ResolutionPolicyProxy
sourceVersion
- The version the dependency is fromtargetResource
- The resource the depencency targetsonSnapshot
- The snapshot that establishes the visibility context within which
the policy is resolved.
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |