|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xiruss.repository.server.RepositoryObjectBase org.xiruss.repository.server.ResolutionPolicyBase org.xiruss.snapcm.MyResolutionPolicy
class MyResolutionPolicy
Field Summary |
---|
Fields inherited from class org.xiruss.repository.server.ResolutionPolicyBase |
---|
params |
Fields inherited from class org.xiruss.repository.server.RepositoryObjectBase |
---|
id, name, objectTypeConstant, properties, rep |
Constructor Summary | |
---|---|
MyResolutionPolicy()
|
Method Summary | |
---|---|
Version |
applyPolicy(Version sourceVersion,
Resource targetResource,
Snapshot onSnapshot)
Applies a policy and returns a collection of zero or more result versions. |
Methods inherited from class org.xiruss.repository.server.ResolutionPolicyBase |
---|
getParameter, getParams, getPolicyTypeName, initialize, setParameter |
Methods inherited from class org.xiruss.repository.server.RepositoryObjectBase |
---|
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, initialize, isNull, setId, setName, setProperties, setProperty, setRepository, setType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, 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 MyResolutionPolicy()
Method Detail |
---|
public Version applyPolicy(Version sourceVersion, Resource targetResource, Snapshot onSnapshot) throws RepositoryException
ResolutionPolicy
applyPolicy
in interface ResolutionPolicy
applyPolicy
in class ResolutionPolicyBase
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 |