public class AssertSizeMoreThan extends BaseAssertion implements ValueAssertion
Tuple
in the stream has a size more than (>) the given size.
On evaluation, Tuple.size()
is called (note Tuples may hold null
values).fieldDeclaration, numArgs, trace
Constructor and Description |
---|
AssertSizeMoreThan(int size)
Constructor AssertSizeMoreThan creates a new AssertSizeMoreThan instance.
|
Modifier and Type | Method and Description |
---|---|
void |
doAssert(FlowProcess flowProcess,
ValueAssertionCall assertionCall)
Method doAssert performs the assertion.
|
boolean |
equals(Object object) |
int |
getSize() |
int |
hashCode() |
fail, fail, getMessage, supportsPlannerLevel, throwFail, throwFail
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, prepare, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
supportsPlannerLevel
cleanup, flush, getFieldDeclaration, getNumArgs, isSafe, prepare
@ConstructorProperties(value="size") public AssertSizeMoreThan(int size)
size
- of type intpublic int getSize()
public void doAssert(FlowProcess flowProcess, ValueAssertionCall assertionCall)
ValueAssertion
doAssert
in interface ValueAssertion
flowProcess
- of type FlowProcessassertionCall
- of type ValueAssertionCallpublic boolean equals(Object object)
equals
in class BaseAssertion
public int hashCode()
hashCode
in class BaseAssertion
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.