Class AbstractListExpectation.DefaultExpectation<T>
- java.lang.Object
-
- org.ikasan.testharness.flow.expectation.service.AbstractListExpectation.DefaultExpectation<T>
-
- Enclosing class:
- AbstractListExpectation
protected class AbstractListExpectation.DefaultExpectation<T> extends java.lang.ObjectDefault expectation allows for anything to be provided as an expectation.- Author:
- Ikasan Development Team
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultExpectation(T expectation, ExpectationComparator<?,?> expectationComparator)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetDescription()Getter for exception descriptionprotected TgetExpectation()Getter for generic expectation typeprotected ExpectationComparator<?,?>getExpectationComparator()Getter for expectation comparatorjava.lang.IntegergetOrder()Order the DefaultExpectation is declaredprotected voidsetDescription(java.lang.String description)Setter for exception descriptionvoidsetOrder(int order)Order the DefaultExpectation is declaredjava.lang.StringtoString()
-
-
-
Constructor Detail
-
DefaultExpectation
protected DefaultExpectation(T expectation, ExpectationComparator<?,?> expectationComparator)
Constructor- Parameters:
expectation-
-
-
Method Detail
-
getOrder
public java.lang.Integer getOrder()
Order the DefaultExpectation is declared- Returns:
- order
-
setOrder
public void setOrder(int order)
Order the DefaultExpectation is declared- Parameters:
order-
-
setDescription
protected void setDescription(java.lang.String description)
Setter for exception description- Parameters:
description-
-
getDescription
protected java.lang.String getDescription()
Getter for exception description
-
getExpectation
protected T getExpectation()
Getter for generic expectation type- Returns:
-
getExpectationComparator
protected ExpectationComparator<?,?> getExpectationComparator()
Getter for expectation comparator- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-