Package io.dialob.executor.command
Interface VariableUpdateCommand
-
- All Superinterfaces:
AbstractUpdateCommand<ItemId,ItemState>,Command<ItemState>,ItemUpdateCommand,Serializable,UpdateCommand<ItemId,ItemState>
- All Known Implementing Classes:
ImmutableVariableUpdateCommand
@Immutable public interface VariableUpdateCommand extends AbstractUpdateCommand<ItemId,ItemState>, ItemUpdateCommand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Set<EventMatcher>getEventMatchers()ExpressiongetExpression()default booleanisPending(Object eval)default ItemStateupdate(EvalContext context, ItemState itemState)-
Methods inherited from interface io.dialob.executor.command.Command
getTriggers
-
Methods inherited from interface io.dialob.executor.command.UpdateCommand
getTargetId, withTargetId
-
-
-
-
Method Detail
-
getExpression
@Parameter(order=1) Expression getExpression()
-
getEventMatchers
@Nonnull default Set<EventMatcher> getEventMatchers()
- Specified by:
getEventMatchersin interfaceCommand<ItemState>
-
update
@Nonnull default ItemState update(@Nonnull EvalContext context, @Nonnull ItemState itemState)
-
isPending
default boolean isPending(Object eval)
-
-