Class CalculateService
java.lang.Object
io.fluentlenium.core.filter.matcher.CalculateService
Static class that are in charge of analyzed the filter and matcher.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheck if the current value contains the patternValue or the referenceValuestatic booleancheck if the current value ends with the patternValue or the referenceValuestatic booleancheck if the current value is equal the patternValue or the referenceValuestatic booleanstartsWith(Pattern patternValue, String referenceValue, String currentValue) check if the current value starts with the patternValue or the referenceValue
-
Method Details
-
contains
check if the current value contains the patternValue or the referenceValue- Parameters:
patternValue- patternreferenceValue- reference valuecurrentValue- current value- Returns:
- boolean value for contains check
-
equal
check if the current value is equal the patternValue or the referenceValue- Parameters:
patternValue- patternreferenceValue- reference valuecurrentValue- current value- Returns:
- boolean value for equal check
-
startsWith
check if the current value starts with the patternValue or the referenceValue- Parameters:
patternValue- patternreferenceValue- reference valuecurrentValue- current value- Returns:
- boolean value for startsWith check
-
endsWith
check if the current value ends with the patternValue or the referenceValue- Parameters:
patternValue- patternreferenceValue- reference valuecurrentValue- current value- Returns:
- boolean value for endsWith check
-