|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.traceAnalysis.filter.visualization.graph.AbstractOriginRetentionPolicy kieker.tools.traceAnalysis.filter.visualization.graph.SpecificOriginRetentionPolicy
public class SpecificOriginRetentionPolicy
The specific origin retention policy represents the intention that only specific origins should
be retained and corresponds to the kind OriginRetentionPolicyKind.SPECIFIC
. Two specific
retention policies are united by uniting the underlying sets. Instead of calculating the union set,
however, the two policies are chained together using an implicit union/or operator to provide a
higher flexibility.
Method Summary | ||
---|---|---|
static SpecificOriginRetentionPolicy |
createInstance(Set<?> selectedOrigins)
Factory method for the specific origin retention policy. |
|
boolean |
dependsOn(IOriginRetentionPolicy policy)
Checks whether this origin retention policy depends on the given policy. |
|
|
handleOrigin(AbstractGraphElement<T> element,
T origin)
Handles a given origin for the given graph element. |
|
IOriginRetentionPolicy |
uniteWith(IOriginRetentionPolicy other)
Unites this retention policy with another one and returns the resulting policy. |
Methods inherited from class kieker.tools.traceAnalysis.filter.visualization.graph.AbstractOriginRetentionPolicy |
---|
getKind, isCompatibleWith |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean dependsOn(IOriginRetentionPolicy policy)
AbstractOriginRetentionPolicy
dependsOn
in interface IOriginRetentionPolicy
dependsOn
in class AbstractOriginRetentionPolicy
policy
- The policy to check for dependencies
True
if the policy depends on the given policy, false
otherwisepublic IOriginRetentionPolicy uniteWith(IOriginRetentionPolicy other)
IOriginRetentionPolicy
other
- The retention policy to unite this policy with
public <T> void handleOrigin(AbstractGraphElement<T> element, T origin)
IOriginRetentionPolicy
T
- The type of the entity within the graph element.element
- The graph element to handle the origin fororigin
- The origin to handlepublic static SpecificOriginRetentionPolicy createInstance(Set<?> selectedOrigins)
selectedOrigins
- The origins to retain
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |