@ComponentProfile(summary="Tests that a configured metadata value ends with the supplied value.", tag="operator,comparator,metadata") public class EndsWith extends ComparatorImpl
MetadataComparisonService
.In the adapter configuration file this class is aliased as metadata-ends-with which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
EndsWith() |
EndsWith(java.lang.String result) |
Modifier and Type | Method and Description |
---|---|
MetadataElement |
compare(MetadataElement firstItem,
MetadataElement secondItem) |
protected boolean |
compare(java.lang.String string,
java.lang.String suffix) |
java.lang.Boolean |
getIgnoreCase() |
void |
setIgnoreCase(java.lang.Boolean ignoreCase) |
apply, getResultKey, getValue, setResultKey, setValue
public MetadataElement compare(MetadataElement firstItem, MetadataElement secondItem)
protected boolean compare(java.lang.String string, java.lang.String suffix)
compare
in class ComparatorImpl
public java.lang.Boolean getIgnoreCase()
public void setIgnoreCase(java.lang.Boolean ignoreCase)