cascading.operation.assertion
Class AssertEqualsAll

java.lang.Object
  extended by cascading.operation.BaseOperation<C>
      extended by cascading.operation.assertion.BaseAssertion
          extended by cascading.operation.assertion.AssertEqualsAll
All Implemented Interfaces:
Assertion, Operation, ValueAssertion, Serializable

public class AssertEqualsAll
extends BaseAssertion
implements ValueAssertion

Class AssertEqualsAll asserts that every value in the argument values Tuple is equal to the value provided on the constructor.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cascading.operation.BaseOperation
fieldDeclaration, numArgs, trace
 
Fields inherited from interface cascading.operation.Operation
ANY
 
Constructor Summary
AssertEqualsAll(Comparable value)
          Constructor AssertEqualsAll creates a new AssertEqualsAll instance.
 
Method Summary
 void doAssert(FlowProcess flowProcess, ValueAssertionCall assertionCall)
          Method doAssert performs the assertion.
 
Methods inherited from class cascading.operation.assertion.BaseAssertion
fail, fail, getMessage, throwFail, throwFail
 
Methods inherited from class cascading.operation.BaseOperation
cleanup, getFieldDeclaration, getNumArgs, getTrace, prepare, printOperationInternal, toString, toStringInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cascading.operation.Operation
cleanup, getFieldDeclaration, getNumArgs, prepare
 

Constructor Detail

AssertEqualsAll

public AssertEqualsAll(Comparable value)
Constructor AssertEqualsAll creates a new AssertEqualsAll instance.

Parameters:
value - of type Comparable
Method Detail

doAssert

public void doAssert(FlowProcess flowProcess,
                     ValueAssertionCall assertionCall)
Description copied from interface: ValueAssertion
Method doAssert performs the assertion.

Specified by:
doAssert in interface ValueAssertion
See Also:
ValueAssertion.doAssert(cascading.flow.FlowProcess,cascading.operation.ValueAssertionCall)


Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.