public final class ReplicationPrefixPredicate extends ReplicationFilterPredicate
ReplicationFilterPredicate
class to represent the
prefix identifying one or more objects to which the
ReplicationRule
applies.Constructor and Description |
---|
ReplicationPrefixPredicate(String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ReplicationPredicateVisitor replicationPredicateVisitor)
Helper method that accepts an implemenation of
ReplicationPredicateVisitor
and invokes the most applicable visit method in the visitor. |
String |
getPrefix()
Returns the key prefix for which the
ReplicationRule will apply. |
public ReplicationPrefixPredicate(String prefix)
public String getPrefix()
ReplicationRule
will apply.public void accept(ReplicationPredicateVisitor replicationPredicateVisitor)
ReplicationFilterPredicate
ReplicationPredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class ReplicationFilterPredicate
Copyright © 2020. All rights reserved.