|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOriginRetentionPolicy
Origin retention policies control the way in which origins for graph elements are kept. Using such policies, graph consumers may specify precisely which origin data needs to be kept and avoid wasting resources for storing unneccessary data.
Method Summary | ||
---|---|---|
boolean |
dependsOn(IOriginRetentionPolicy policy)
Checks whether this origin retention policy depends on the given policy. |
|
OriginRetentionPolicyKind |
getKind()
Returns the kind of this retention policy. |
|
|
handleOrigin(AbstractGraphElement<T> element,
T origin)
Handles a given origin for the given graph element. |
|
boolean |
isCompatibleWith(IOriginRetentionPolicy other)
Checks whether this policy is compatible (i.e. |
|
IOriginRetentionPolicy |
uniteWith(IOriginRetentionPolicy other)
Unites this retention policy with another one and returns the resulting policy. |
Method Detail |
---|
OriginRetentionPolicyKind getKind()
boolean isCompatibleWith(IOriginRetentionPolicy other)
other
- The retention policy to check against
True
if the policies may be united, false
otherwiseboolean dependsOn(IOriginRetentionPolicy policy)
policy
- The policy to check for dependencies
True
if the policy depends on the given policy, false
otherwiseIOriginRetentionPolicy uniteWith(IOriginRetentionPolicy other)
other
- The retention policy to unite this policy with
<T> void handleOrigin(AbstractGraphElement<T> element, T origin)
T
- The type of the entity within the graph element.element
- The graph element to handle the origin fororigin
- The origin to handle
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |