NoOpSystemWriteSide

public enum NoOpSystemWriteSide implements SystemWriteSide

An implementation of SystemWriteSide which never performs an operation.

All the methods inherited from SystemWriteSide exit without any action or exception.

This implementation is used by the system bounded context itself, since there is no system bounded context for a system bounded context.

Entries

Link copied to clipboard

Functions

Link copied to clipboard
public Event postEvent(EventMessage systemEvent, Origin origin)
Posts a system event with the given origin.
Link copied to clipboard
public static NoOpSystemWriteSide valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<NoOpSystemWriteSide> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Inherited functions

Link copied to clipboard
public static SystemWriteSide newInstance(SystemContext system)
Creates new instance of the SystemWriteSide which serves the passed system context.
Link copied to clipboard
public Event postEvent(EventMessage systemEvent)
Posts a system event.