Class NoOriginRetentionPolicy
java.lang.Object
kieker.tools.trace.analysis.filter.visualization.graph.AbstractOriginRetentionPolicy
kieker.tools.trace.analysis.filter.visualization.graph.NoOriginRetentionPolicy
- All Implemented Interfaces:
IOriginRetentionPolicy
public final class NoOriginRetentionPolicy extends AbstractOriginRetentionPolicy
The no-origin-retention policy represents the intention that no origins should be retained at all
and corresponds to the kind
OriginRetentionPolicyKind.NONE.- Since:
- 1.6
-
Method Summary
Modifier and Type Method Description static NoOriginRetentionPolicycreateInstance()Factory method for the no-origin-retention policy.<T> voidhandleOrigin(AbstractGraphElement<T> element, T origin)Handles a given origin for the given graph element.IOriginRetentionPolicyuniteWith(IOriginRetentionPolicy other)Unites this retention policy with another one and returns the resulting policy.Methods inherited from class kieker.tools.trace.analysis.filter.visualization.graph.AbstractOriginRetentionPolicy
dependsOn, getKind, isCompatibleWith
-
Method Details
-
uniteWith
Unites this retention policy with another one and returns the resulting policy. Note that the resulting policy is not necessarily one of the original policies.- Parameters:
other- The retention policy to unite this policy with- Returns:
- The resulting policy, which may be a completely new object
-
handleOrigin
Handles a given origin for the given graph element.- Type Parameters:
T- The type of the entity within the graph element.- Parameters:
element- The graph element to handle the origin fororigin- The origin to handle
-
createInstance
Factory method for the no-origin-retention policy.- Returns:
- See above
-