public class ReplicationFilter extends Object implements Serializable
ReplicationFilter
is used to identify objects that a Replication Rule applies to.
This predicate in ReplicationFilter
should be one of
ReplicationPrefixPredicate
, ReplicationTagPredicate
, or
ReplicationAndOperator
.Constructor and Description |
---|
ReplicationFilter() |
ReplicationFilter(ReplicationFilterPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
ReplicationFilterPredicate |
getPredicate()
Returns the
ReplicationFilterPredicate to be applied to ReplicationRule . |
void |
setPredicate(ReplicationFilterPredicate predicate)
Sets the
ReplicationFilterPredicate to be applied to ReplicationRule . |
ReplicationFilter |
withPredicate(ReplicationFilterPredicate predicate)
Sets the
ReplicationFilterPredicate to be applied to ReplicationRule and returns the object
for method chaining. |
public ReplicationFilter()
public ReplicationFilter(ReplicationFilterPredicate predicate)
public ReplicationFilterPredicate getPredicate()
ReplicationFilterPredicate
to be applied to ReplicationRule
.
The predicate is one of ReplicationPrefixPredicate
,
ReplicationTagPredicate
or
ReplicationAndOperator
type.public void setPredicate(ReplicationFilterPredicate predicate)
ReplicationFilterPredicate
to be applied to ReplicationRule
.
The predicate should be one of ReplicationPrefixPredicate
,
ReplicationTagPredicate
or
ReplicationAndOperator
type.predicate
- An object of type ReplicationFilterPredicate
.public ReplicationFilter withPredicate(ReplicationFilterPredicate predicate)
ReplicationFilterPredicate
to be applied to ReplicationRule
and returns the object
for method chaining.
The predicate should be one of ReplicationPrefixPredicate
,
ReplicationTagPredicate
or
ReplicationAndOperator
type.predicate
- An object of type ReplicationFilterPredicate
.Copyright © 2024. All rights reserved.