Package com.cloudforgeci.api.core.rules
Class RuleKit
java.lang.Object
com.cloudforgeci.api.core.rules.RuleKit
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic Ruleforbid(String name, Function<SystemContext, ? extends Slot<?>> get) static Rulerequire(String name, Function<SystemContext, ? extends Slot<?>> get) static Rulestatic <A,B, C> void whenAll(Slot<A> a, Slot<B> b, Slot<C> c, RuleKit.TriConsumer<A, B, C> fn) static <A,B, C, D>
voidstatic <A,B, C, D, E>
voidwhenAll5(Slot<A> a, Slot<B> b, Slot<C> c, Slot<D> d, Slot<E> e, RuleKit.PentaConsumer<A, B, C, D, E> fn) static <A,B> void whenBoth(Slot<A> a, Slot<B> b, BiConsumer<A, B> fn)
-
Method Details
-
require
-
forbid
-
when
-
whenBoth
-
whenAll
public static <A,B, void whenAllC> (Slot<A> a, Slot<B> b, Slot<C> c, RuleKit.TriConsumer<A, B, C> fn) -
whenAll4
public static <A,B, void whenAll4C, D> (Slot<A> a, Slot<B> b, Slot<C> c, Slot<D> d, RuleKit.QuadConsumer<A, B, C, D> fn) -
whenAll5
-