io.github.bekoenig.assertj.schemacrawler.api.AbstractTriggerAssert Maven / Gradle / Ivy
package io.github.bekoenig.assertj.schemacrawler.api;
import schemacrawler.schema.*;
import java.util.Set;
import java.util.function.Predicate;
public class AbstractTriggerAssert>
extends AbstractDependantObjectAssert {
protected AbstractTriggerAssert(Trigger actual, Class> selfType) {
super(actual, selfType);
}
public SELF matchesActionCondition(Predicate predicate) {
extracting(Trigger::getActionCondition).matches(predicate);
return myself;
}
public SELF matchesActionOrder(Predicate predicate) {
extracting(Trigger::getActionOrder).matches(predicate);
return myself;
}
public SELF matchesActionOrientation(Predicate predicate) {
extracting(Trigger::getActionOrientation).matches(predicate);
return myself;
}
public SELF matchesActionStatement(Predicate predicate) {
extracting(Trigger::getActionStatement).matches(predicate);
return myself;
}
public SELF matchesConditionTiming(Predicate predicate) {
extracting(Trigger::getConditionTiming).matches(predicate);
return myself;
}
public SELF matchesEventManipulationType(Predicate> predicate) {
extracting(Trigger::getEventManipulationTypes).matches(predicate);
return myself;
}
}