public final class AFlowEvent<T>
extends org.hamcrest.TypeSafeDiagnosingMatcher<T>
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkProperties(FlowEvent<T> flowEvent,
com.codepoetics.fluvius.test.matchers.PropertyMismatchDescriber describer) |
protected void |
describeProperties(com.codepoetics.fluvius.test.matchers.PropertyDescriber describer) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(T t,
org.hamcrest.Description description) |
protected boolean |
propertyMatches(String propertyName,
T propertyValue,
org.hamcrest.Matcher<? super T> matcher,
org.hamcrest.Description description) |
static <T> AFlowEvent<T> |
stepFailed() |
static <T> AFlowEvent<T> |
stepFailed(org.hamcrest.Matcher<? super T> reasonMatcher) |
static <T> AFlowEvent<T> |
stepFailed(T result) |
static <T> AFlowEvent<T> |
stepStarted() |
static <T> AFlowEvent<T> |
stepStarted(Map<String,T> scratchpadState) |
static <T> AFlowEvent<T> |
stepStarted(org.hamcrest.Matcher<? super Map<String,T>> scratchpadStateMatcher) |
static <T> AFlowEvent<T> |
stepSucceeded() |
static <T> AFlowEvent<T> |
stepSucceeded(org.hamcrest.Matcher<? super T> resultMatcher) |
static <T> AFlowEvent<T> |
stepSucceeded(T result) |
AFlowEvent<T> |
withFlowId(org.hamcrest.Matcher<? super UUID> flowIdMatcher) |
AFlowEvent<T> |
withFlowId(UUID flowId) |
AFlowEvent<T> |
withStepId(org.hamcrest.Matcher<? super UUID> stepIdMatcher) |
AFlowEvent<T> |
withStepId(UUID stepId) |
AFlowEvent<T> |
withTimestamp(long timestamp) |
AFlowEvent<T> |
withTimestamp(org.hamcrest.Matcher<? super Long> timestampMatcher) |
public static <T> AFlowEvent<T> stepStarted()
public static <T> AFlowEvent<T> stepStarted(Map<String,T> scratchpadState)
public static <T> AFlowEvent<T> stepStarted(org.hamcrest.Matcher<? super Map<String,T>> scratchpadStateMatcher)
public static <T> AFlowEvent<T> stepSucceeded()
public static <T> AFlowEvent<T> stepSucceeded(T result)
public static <T> AFlowEvent<T> stepSucceeded(org.hamcrest.Matcher<? super T> resultMatcher)
public static <T> AFlowEvent<T> stepFailed()
public static <T> AFlowEvent<T> stepFailed(T result)
public static <T> AFlowEvent<T> stepFailed(org.hamcrest.Matcher<? super T> reasonMatcher)
public AFlowEvent<T> withFlowId(UUID flowId)
public AFlowEvent<T> withFlowId(org.hamcrest.Matcher<? super UUID> flowIdMatcher)
public AFlowEvent<T> withStepId(UUID stepId)
public AFlowEvent<T> withStepId(org.hamcrest.Matcher<? super UUID> stepIdMatcher)
public AFlowEvent<T> withTimestamp(long timestamp)
public AFlowEvent<T> withTimestamp(org.hamcrest.Matcher<? super Long> timestampMatcher)
protected void describeProperties(com.codepoetics.fluvius.test.matchers.PropertyDescriber describer)
protected void checkProperties(FlowEvent<T> flowEvent, com.codepoetics.fluvius.test.matchers.PropertyMismatchDescriber describer)
protected boolean propertyMatches(String propertyName, T propertyValue, org.hamcrest.Matcher<? super T> matcher, org.hamcrest.Description description)
public void describeTo(org.hamcrest.Description description)
protected boolean matchesSafely(T t,
org.hamcrest.Description description)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>Copyright © 2017. All Rights Reserved.