Package org.burningwave.core
Class Criteria.TestContext<E,C extends Criteria<E,C,?>>
java.lang.Object
org.burningwave.core.Context
org.burningwave.core.Criteria.TestContext<E,C>
- All Implemented Interfaces:
AutoCloseable,Closeable,Identifiable
- Direct Known Subclasses:
ClassCriteria.TestContext
public static class Criteria.TestContext<E,C extends Criteria<E,C,?>> extends Context
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedTestContext(C criteria) -
Method Summary
Modifier and Type Method Description static <E, C extends Criteria<E, C, T>, T extends Criteria.TestContext<E, C>>
Criteria.TestContext<E,C>create(C criteria)CgetCriteria()EgetEntity()Predicate<E>getPredicate()BooleangetResult()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationId
-
Constructor Details
-
TestContext
-
-
Method Details
-
create
public static <E, C extends Criteria<E, C, T>, T extends Criteria.TestContext<E, C>> Criteria.TestContext<E,C> create(C criteria) -
getCriteria
-
getEntity
-
getPredicate
-
getResult
-