Package io.dialob.executor.command
Interface UpdateAllowedActionsCommand
-
- All Superinterfaces:
AbstractUpdateCommand<ItemId,ItemState>,Command<ItemState>,ItemUpdateCommand,Serializable,UpdateCommand<ItemId,ItemState>
- All Known Implementing Classes:
ImmutableUpdateAllowedActionsCommand
@Immutable public interface UpdateAllowedActionsCommand extends AbstractUpdateCommand<ItemId,ItemState>, ItemUpdateCommand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Set<io.dialob.api.proto.Action.Type>evalExpression(EvalContext context)default Set<EventMatcher>getEventMatchers()ExpressiongetExpression()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)
-
evalExpression
default Set<io.dialob.api.proto.Action.Type> evalExpression(EvalContext context)
-
-