Skip navigation links
A B C D E F G I L M N O P R S T U V W Z 

A

AcceptsExternal - Annotation Type in io.spine.core
Marks a handler method annotation which may accept external messages.
AcceptsFilters - Annotation Type in io.spine.core
Marks a handler method annotation which supports filtering events by fields using Where.
Acks - Class in io.spine.core
Utilities for working with acknowledgements.
actor() - Method in interface io.spine.core.WithActor
The ID of the associated user.
actorContext() - Method in interface io.spine.core.WithActor
The context of the associated user.
asMessageOrigin() - Method in interface io.spine.core.Signal
Obtains this signal as an origin of other signals.

B

BooleanMismatch - Class in io.spine.change
Utility class for working with boolean values in ValueMismatches.
BoundedContext - Annotation Type in io.spine.core
Marks a package as one belonging to a Bounded Context with the specified name.
BoundedContextNames - Class in io.spine.core
Utility class for working with Bounded Context names.
ByField - Annotation Type in io.spine.core
Deprecated.
Please use please use @Where annotation for the first method parameter.

C

Changes - Class in io.spine.change
Utility class for working with field changes.
checkIsIncrement(Version, Version) - Static method in class io.spine.core.Versions
Ensures that an entity transits into a new version with a greater number.
checkValid(EventId) - Static method in class io.spine.core.Events
Deprecated.
please use Preconditions2.checkNotDefaultArg(Message)
Commands - Class in io.spine.core
Client-side utilities for working with commands.
context() - Method in interface io.spine.core.Signal
Obtains the context of the enclosed message.

D

DoubleMismatch - Class in io.spine.change
Utility class for working with double values in ValueMismatches.

E

enclosedMessage() - Method in interface io.spine.core.Signal
Obtains the unpacked form of the enclosed message.
enclosedTypeUrl() - Method in interface io.spine.core.Signal
Obtains the type URL of the enclosed message.
EnrichableMessageContext - Interface in io.spine.core
A common interface for message contexts that hold enrichments.
ensureMessage(Message) - Static method in class io.spine.core.Commands
Extracts a command message if the passed instance is a Command object or Any, otherwise returns the passed message.
ensureMessage(Message) - Static method in class io.spine.core.Events
Extracts an event message if the passed instance is an Event object or Any, otherwise returns the passed message.
EventContextField - Class in io.spine.core
A subscribable field of an event context.
EventContextField(Field) - Constructor for class io.spine.core.EventContextField
 
Events - Class in io.spine.core
Utility class for working with Event objects.
expectedDefault(Message, Message, int) - Static method in class io.spine.change.MessageMismatch
Creates ValueMismatch for the case of discovering a non-default value, when the default value was expected by a command.
expectedEmpty(String, String, int) - Static method in class io.spine.change.StringMismatch
Creates ValueMismatch for the case of discovering a non-empty value, when an empty string was expected by a command.
expectedFalse(int) - Static method in class io.spine.change.BooleanMismatch
Creates ValueMismatch for the case when command finds true value instead of false.
expectedNonZero(double, double, int) - Static method in class io.spine.change.DoubleMismatch
Creates ValueMismatch for the case of discovering zero value, when a non zero amount was expected by a command.
expectedNonZero(float, float, int) - Static method in class io.spine.change.FloatMismatch
Creates ValueMismatch for the case of discovering zero value, when a non zero amount was expected by a command.
expectedNonZero(int, int, int) - Static method in class io.spine.change.IntMismatch
Creates ValueMismatch for the case of discovering zero value, when a non zero amount was expected by a command.
expectedNonZero(long, long, int) - Static method in class io.spine.change.LongMismatch
Creates ValueMismatch for the case of discovering zero value, when a non zero amount was expected by a command.
expectedNotDefault(Message, int) - Static method in class io.spine.change.MessageMismatch
Creates a ValueMismatch for a command that wanted to clear a value, but discovered that the field already has the default value.
expectedNotDefault(Message, Message, int) - Static method in class io.spine.change.MessageMismatch
Creates a ValueMismatch for a command that wanted to change a field value, but discovered that the field has the default value.
expectedNotEmpty(String, int) - Static method in class io.spine.change.StringMismatch
Creates a ValueMismatch for a command that wanted to clear a string value, but discovered that the field is already empty.
expectedTrue(int) - Static method in class io.spine.change.BooleanMismatch
Creates ValueMismatch for the case when command finds false value instead of true.
expectedZero(double, double, int) - Static method in class io.spine.change.DoubleMismatch
Creates ValueMismatch for the case of discovering not zero value, when a zero amount was expected by a command.
expectedZero(float, float, int) - Static method in class io.spine.change.FloatMismatch
Creates ValueMismatch for the case of discovering not zero value, when a zero amount was expected by a command.
expectedZero(int, int, int) - Static method in class io.spine.change.IntMismatch
Creates ValueMismatch for the case of discovering not zero value, when a zero amount was expected by a command.
expectedZero(long, long, int) - Static method in class io.spine.change.LongMismatch
Creates ValueMismatch for the case of discovering not zero value, when a zero amount was expected by a command.
External - Annotation Type in io.spine.core
Marks a handler method parameter to be of an external origin.

F

find(Class<E>) - Method in interface io.spine.core.EnrichableMessageContext
 
FloatMismatch - Class in io.spine.change
Utility class for working with float values in ValueMismatches.

G

generateId() - Static method in class io.spine.core.Events
Creates a new EventId based on random UUID.
get(Class<E>) - Method in interface io.spine.core.EnrichableMessageContext
Obtains enrichment of the passed class.
getContext() - Method in interface io.spine.core.Signal
Obtains the context of the enclosed message.
getEnrichment() - Method in interface io.spine.core.EnrichableMessageContext
Obtains an instance of Enrichment from the context of the message.
getId() - Method in interface io.spine.core.Signal
Obtains the identifier of the message.
getMessage() - Method in interface io.spine.core.Signal
Obtains the packed version of the enclosed message.

I

id() - Method in interface io.spine.core.Signal
Obtains the identifier of the message.
idStringifier() - Static method in class io.spine.core.Commands
Obtains stringifier for command IDs.
idStringifier() - Static method in class io.spine.core.Events
Obtains the stringifier for event IDs.
increment(Version) - Static method in class io.spine.core.Versions
Creates a new Version with the number increased by one and the timestamp of the current system time.
instant() - Method in interface io.spine.core.WithTime
Obtains the associated time point as Instant.
IntMismatch - Class in io.spine.change
Utility class for working with int values in ValueMismatches.
io.spine.change - package io.spine.change
This package contains classes and interfaces for working with field value changes.
io.spine.core - package io.spine.core
This package provides generated classes and interfaces with general data types for building event-sourcing applications.
is(Class<? extends Message>) - Method in interface io.spine.core.Signal
Verifies if the enclosed message has the same type as the passed, or the passed type is the super-type of the message.
isAfter(Timestamp) - Method in interface io.spine.core.WithTime
Verifies if associated time is after the passed point in time.
isBefore(Timestamp) - Method in interface io.spine.core.WithTime
Verifies if the associated time is before the passed point in time.
isBetween(Timestamp, Timestamp) - Method in interface io.spine.core.WithTime
Verifies if the associated time point is within the passed period of time.
isDecrement(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
Checks if the version is a decrement relative to the other version.
isDecrementOrEqual(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
Checks if the version is a decrement or at least equal to the other version.
isIncrement(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
Checks if the version is an increment relative to the other version.
isIncrementOrEqual(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
Checks if the version is an increment or at least equal to the other version.
isOk(Response) - Static method in class io.spine.core.Responses
Deprecated.
please use ResponseMixin.isOk()

L

localDate() - Method in interface io.spine.core.WithTime
Obtains the local date of the WithTime.instant() associated time point}.
localDateTime() - Method in interface io.spine.core.WithTime
Obtains the local date and time of the WithTime.instant() associated time point}.
LongMismatch - Class in io.spine.change
Utility class for working with long values in ValueMismatches.

M

messageId() - Method in interface io.spine.core.Signal
Obtains the ID of this message.
MessageMismatch - Class in io.spine.change
Utility class for working with ValueMismatches for Message values.

N

newName(String) - Static method in class io.spine.core.BoundedContextNames
Creates a new value object for a bounded context name.
newVersion(int, Timestamp) - Static method in class io.spine.core.Versions
Creates a new instance with the passed number and the timestamp.
nothing() - Static method in class io.spine.core.Events
Creates an empty Iterable over the messages of the type <M>.

O

of(String, String) - Static method in class io.spine.change.Changes
Creates StringChange object for the passed previous and new field values.
of(Timestamp, Timestamp) - Static method in class io.spine.change.Changes
Creates TimestampChange object for the passed previous and new field values.
of(double, double) - Static method in class io.spine.change.Changes
Creates DoubleChange object for the passed previous and new field values.
of(float, float) - Static method in class io.spine.change.Changes
Creates FloatChange object for the passed previous and new field values.
of(ByteString, ByteString) - Static method in class io.spine.change.Changes
Creates BytesChange object for the passed previous and new field values.
of(boolean, boolean) - Static method in class io.spine.change.Changes
Creates BooleanChange object for the passed previous and new field values.
of(double, double, double, int) - Static method in class io.spine.change.DoubleMismatch
Creates a new instance of ValueMismatch with the passed values for a double attribute.
of(float, float, float, int) - Static method in class io.spine.change.FloatMismatch
Creates a new instance of ValueMismatch with the passed values for a float attribute.
of(int, int, int, int) - Static method in class io.spine.change.IntMismatch
Creates a new instance of ValueMismatch with the passed values for an integer attribute.
of(long, long, long, int) - Static method in class io.spine.change.LongMismatch
Creates a new instance of ValueMismatch with the passed values for a long attribute.
ofFixed32(int, int) - Static method in class io.spine.change.Changes
Creates Fixed32Change object for the passed previous and new field values.
ofFixed64(long, long) - Static method in class io.spine.change.Changes
Creates Fixed64Change object for the passed previous and new field values.
ofInt32(int, int) - Static method in class io.spine.change.Changes
Creates Int32Change object for the passed previous and new field values.
ofInt64(long, long) - Static method in class io.spine.change.Changes
Creates Int64Change object for the passed previous and new field values.
ofSfixed32(int, int) - Static method in class io.spine.change.Changes
Creates Sfixed32Change object for the passed previous and new field values.
ofSfixed64(long, long) - Static method in class io.spine.change.Changes
Creates Sfixed64Change object for the passed previous and new field values.
ofSInt32(int, int) - Static method in class io.spine.change.Changes
Creates SInt32Change object for the passed previous and new field values.
ofSInt64(long, long) - Static method in class io.spine.change.Changes
Creates SInt64Change object for the passed previous and new field values.
ofUInt32(int, int) - Static method in class io.spine.change.Changes
Creates UInt32Change object for the passed previous and new field values.
ofUInt64(long, long) - Static method in class io.spine.change.Changes
Creates UInt64Change object for the passed previous and new field values.
ok() - Static method in class io.spine.core.Responses
Returns the instance of OK Response.
origin() - Method in interface io.spine.core.Signal
Obtains the origin of this signal.

P

parent() - Method in interface io.spine.core.Signal
 

R

Responses - Class in io.spine.core
Utilities for working with Response objects.
rootMessage() - Method in interface io.spine.core.Signal
Obtains the ID of the first message in the chain.

S

Signal<I,M extends io.spine.base.KnownMessage,C extends io.spine.base.MessageContext> - Interface in io.spine.core
A message which can be dispatched and cause other messages.
SignalContext - Interface in io.spine.core
A context of a message initiated by a user.
sort(List<Command>) - Static method in class io.spine.core.Commands
Sorts the command given command request list by command timestamp value.
statusOk() - Static method in class io.spine.core.Responses
Returns the OK Status instance.
StringMismatch - Class in io.spine.change
Utility class for working with string values in ValueMismatches.
Subscribe - Annotation Type in io.spine.core
Marks a method as a subscriber for the command output.

T

tenant() - Method in interface io.spine.core.WithActor
Obtains the ID of the tenant under which the message was created.
timestamp() - Method in interface io.spine.core.WithTime
Obtains the point in time associated with the object.
toCommandId(Ack) - Static method in class io.spine.core.Acks
Extracts the ID of the acknowledged command.
toExternal(List<Event>) - Static method in class io.spine.core.Events
Marks all the given events as external.
toExternal(Event) - Static method in class io.spine.core.Events
Marks the given event as external.
type() - Method in interface io.spine.core.Signal
Obtains the type of the signal as the type of the enclosed Message.

U

unexpectedValue(double, double, double, int) - Static method in class io.spine.change.DoubleMismatch
Creates ValueMismatch for the case of discovering a value different than by a command.
unexpectedValue(float, float, float, int) - Static method in class io.spine.change.FloatMismatch
Creates ValueMismatch for the case of discovering a value different than by a command.
unexpectedValue(int, int, int, int) - Static method in class io.spine.change.IntMismatch
Creates ValueMismatch for the case of discovering a value different than by a command.
unexpectedValue(long, long, long, int) - Static method in class io.spine.change.LongMismatch
Creates ValueMismatch for the case of discovering a value different than by a command.
unexpectedValue(Message, Message, Message, int) - Static method in class io.spine.change.MessageMismatch
Creates ValueMismatch for the case of discovering a value different than by a command.
unexpectedValue(String, String, String, int) - Static method in class io.spine.change.StringMismatch
Creates ValueMismatch for the case of discovering a value different than expected by a command.
unpackActual(ValueMismatch) - Static method in class io.spine.change.BooleanMismatch
Obtains actual boolean value from the passed mismatch.
unpackActual(ValueMismatch) - Static method in class io.spine.change.DoubleMismatch
Obtains actual double value from the passed mismatch.
unpackActual(ValueMismatch) - Static method in class io.spine.change.FloatMismatch
Obtains actual float value from the passed mismatch.
unpackActual(ValueMismatch) - Static method in class io.spine.change.IntMismatch
Obtains actual int value from the passed mismatch.
unpackActual(ValueMismatch) - Static method in class io.spine.change.LongMismatch
Obtains actual long value from the passed mismatch.
unpackActual(ValueMismatch) - Static method in class io.spine.change.MessageMismatch
Obtains actual value as a Message from the passed mismatch.
unpackActual(ValueMismatch) - Static method in class io.spine.change.StringMismatch
Obtains actual string from the passed mismatch.
unpackExpected(ValueMismatch) - Static method in class io.spine.change.BooleanMismatch
Obtains expected boolean value from the passed mismatch.
unpackExpected(ValueMismatch) - Static method in class io.spine.change.DoubleMismatch
Obtains expected double value from the passed mismatch.
unpackExpected(ValueMismatch) - Static method in class io.spine.change.FloatMismatch
Obtains expected float value from the passed mismatch.
unpackExpected(ValueMismatch) - Static method in class io.spine.change.IntMismatch
Obtains expected int value from the passed mismatch.
unpackExpected(ValueMismatch) - Static method in class io.spine.change.LongMismatch
Obtains expected long value from the passed mismatch.
unpackExpected(ValueMismatch) - Static method in class io.spine.change.MessageMismatch
Obtains expected value as a Message from the passed mismatch.
unpackExpected(ValueMismatch) - Static method in class io.spine.change.StringMismatch
Obtains expected string from the passed mismatch.
unpackNewValue(ValueMismatch) - Static method in class io.spine.change.BooleanMismatch
Obtains new boolean value from the passed mismatch.
unpackNewValue(ValueMismatch) - Static method in class io.spine.change.DoubleMismatch
Obtains new double value from the passed mismatch.
unpackNewValue(ValueMismatch) - Static method in class io.spine.change.FloatMismatch
Obtains new float value from the passed mismatch.
unpackNewValue(ValueMismatch) - Static method in class io.spine.change.IntMismatch
Obtains new int value from the passed mismatch.
unpackNewValue(ValueMismatch) - Static method in class io.spine.change.LongMismatch
Obtains new long value from the passed mismatch.
unpackNewValue(ValueMismatch) - Static method in class io.spine.change.MessageMismatch
Obtains new value as a Message from the passed mismatch.
unpackNewValue(ValueMismatch) - Static method in class io.spine.change.StringMismatch
Obtains new value string from the passed mismatch.

V

VersionMixin - Interface in io.spine.core
A mixin interface for the Version message type.
Versions - Class in io.spine.core
Utilities for working with Version.

W

Where - Annotation Type in io.spine.core
Filters events delivered to a handler method.
WithActor - Interface in io.spine.core
An object associated with an acting user.
WithTime - Interface in io.spine.core
An object with associated point in time.

Z

zero() - Static method in class io.spine.core.Versions
Creates a new instance with the zero number and current system time.
A B C D E F G I L M N O P R S T U V W Z 
Skip navigation links