cascading.operation.assertion
Class AssertMatchesAll
java.lang.Object
cascading.operation.BaseOperation<C>
cascading.operation.regex.RegexOperation<Matcher>
cascading.operation.regex.RegexMatcher
cascading.operation.assertion.AssertMatchesAll
- All Implemented Interfaces:
- DeclaresResults, Assertion<Matcher>, Operation<Matcher>, PlannedOperation<Matcher>, ValueAssertion<Matcher>, Traceable, Serializable
public class AssertMatchesAll
- extends RegexMatcher
- implements ValueAssertion<Matcher>
Class AssertMatchesAll matches the given regular expression patternString against each argument
Tuple
element individually. See AssertMatches
if you need to match the patternString regex against
the tuple as a whole.
This operation uses Matcher
internally, specifically the method Matcher.find()
.
- See Also:
Matcher
,
Pattern
,
Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
Constructor Summary |
AssertMatchesAll(String patternString)
Constructor AssertMatchesAll creates a new AssertMatchesAll instance. |
AssertMatchesAll(String patternString,
boolean negateMatch)
Constructor AssertMatchesAll creates a new AssertMatchesAll instance. |
AssertMatchesAll
@ConstructorProperties(value="patternString")
public AssertMatchesAll(String patternString)
- Constructor AssertMatchesAll creates a new AssertMatchesAll instance.
- Parameters:
patternString
- of type String
AssertMatchesAll
@ConstructorProperties(value={"patternString","negateMatch"})
public AssertMatchesAll(String patternString,
boolean negateMatch)
- Constructor AssertMatchesAll creates a new AssertMatchesAll instance.
- Parameters:
patternString
- of type StringnegateMatch
- of type boolean
supportsPlannerLevel
public boolean supportsPlannerLevel(PlannerLevel plannerLevel)
- Specified by:
supportsPlannerLevel
in interface PlannedOperation<Matcher>
doAssert
public void doAssert(FlowProcess flowProcess,
ValueAssertionCall<Matcher> assertionCall)
- Description copied from interface:
ValueAssertion
- Method doAssert performs the assertion.
- Specified by:
doAssert
in interface ValueAssertion<Matcher>
- Parameters:
flowProcess
- of type FlowProcessassertionCall
- of type ValueAssertionCall
Copyright © 2007-2014 Concurrent, Inc. All Rights Reserved.