com.streambase.sb.unittest

## Class Expecter.AbstractPredicate

- java.lang.Object
- - com.streambase.sb.unittest.Expecter.AbstractPredicate

- All Implemented Interfaces:
    Expecter.Predicate
  Enclosing class:
    Expecter

      public abstract static class Expecter.AbstractPredicate
      extends Object
      implements Expecter.Predicate

  Subclass this and override isExpected(Tuple t) to simplify creating predicates.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractPredicate()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract boolean` | `isExpected(Tuple t)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractPredicate

          public AbstractPredicate()

  - ### Method Detail

    - #### isExpected

          public abstract boolean isExpected(Tuple t)
                                      throws StreamBaseException

      Specified by:
        `isExpected` in interface `Expecter.Predicate`
      Parameters:
        `t` - `Tuple` to introspect
      Returns:
        true iff t is expected.
      Throws:
        `StreamBaseException` - Error detected

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.