public final class InventoryPrefixPredicate extends InventoryFilterPredicate
InventoryFilterPredicate
class to represent the
prefix to use when evaluating an inventory filter.Constructor and Description |
---|
InventoryPrefixPredicate(java.lang.String prefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(InventoryPredicateVisitor inventoryPredicateVisitor)
Helper method that accepts an implemenation of
InventoryPredicateVisitor
and invokes the most applicable visit method in the visitor. |
java.lang.String |
getPrefix() |
public InventoryPrefixPredicate(java.lang.String prefix)
prefix
- the string prefix used when evaluating an inventory filter.public java.lang.String getPrefix()
public void accept(InventoryPredicateVisitor inventoryPredicateVisitor)
InventoryFilterPredicate
InventoryPredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class InventoryFilterPredicate
inventoryPredicateVisitor
- the InventoryPredicateVisitor.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.