public interface IOriginRetentionPolicy
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOn(IOriginRetentionPolicy policy)
Checks whether this origin retention policy depends on the given policy.
|
OriginRetentionPolicyKind |
getKind()
Returns the kind of this retention policy.
|
<T> void |
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.
|
OriginRetentionPolicyKind getKind()
boolean isCompatibleWith(IOriginRetentionPolicy other)
other
- The retention policy to check againstTrue
if the policies may be united, false
otherwiseboolean dependsOn(IOriginRetentionPolicy policy)
policy
- The policy to check for dependenciesTrue
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 handleCopyright 2017 Kieker Project, http://kieker-monitoring.net