The nature of CommandResponse as an intermediate response of command execution or a final response which could be positive or negative
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
CommandResponse.type
Members list
Type members
Classlikes
Represents a final response stating acceptance of a command received meaning passed validation
Represents a final response stating acceptance of a command received meaning passed validation
Value parameters
- runId
-
the runId of command for which this response is created
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OnewayResponsetrait ValidateResponsetrait ValidateCommandResponsetrait CommandResponsetrait CommandSerializableclass Objecttrait Matchableclass AnyShow all
Represents a negative response that describes the cancellation of command
Represents a negative response that describes the cancellation of command
Value parameters
- runId
-
of command for which this response is created
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SubmitResponsetrait CommandResponsetrait CommandSerializableclass Objecttrait Matchableclass AnyShow all
Represents a final positive response stating completion of command with no errors A result may be included or may be empty
Represents a final positive response stating completion of command with no errors A result may be included or may be empty
Value parameters
- result
-
describing the result of completion if needed
- runId
-
of command for which this response is created
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MatchingResponsetrait SubmitResponsetrait CommandResponsetrait CommandSerializableclass Objecttrait Matchableclass AnyShow all
Represents a negative response that describes an error in executing the command
Represents a negative response that describes an error in executing the command
Value parameters
- message
-
describing the reason or cause or action item of the error encountered while executing the command
- runId
-
of command for which this response is created
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MatchingResponsetrait SubmitResponsetrait CommandResponsetrait CommandSerializableclass Objecttrait Matchableclass AnyShow all
Represents a final negative response invalidating a command received has failed validation
Represents a final negative response invalidating a command received has failed validation
Value parameters
- issue
-
describing the cause of invalidation
- runId
-
of command for which this response is created
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MatchingResponsetrait SubmitResponsetrait OnewayResponsetrait ValidateResponsetrait ValidateCommandResponsetrait CommandResponsetrait CommandSerializableclass Objecttrait Matchableclass AnyShow all
Represents a negative response stating that a component is Locked and command was not validated or executed
Represents a negative response stating that a component is Locked and command was not validated or executed
Value parameters
- runId
-
of command for which this response is created
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MatchingResponsetrait SubmitResponsetrait OnewayResponsetrait ValidateResponsetrait CommandResponsetrait CommandSerializableclass Objecttrait Matchableclass AnyShow all
MatchingResponse is returned by matchers. Responses returned can be Invalid, Completed, Error, Locked
MatchingResponse is returned by matchers. Responses returned can be Invalid, Completed, Error, Locked
Attributes
- Supertypes
- Known subtypes
OnewayResponse is returned by Oneway message which calls the onOneway handler Responses returned can be Accepted, Invalid, Locked
OnewayResponse is returned by Oneway message which calls the onOneway handler Responses returned can be Accepted, Invalid, Locked
Attributes
- Supertypes
- Known subtypes
Represents a preliminary response stating a long running command has been started
Represents a preliminary response stating a long running command has been started
Value parameters
- runId
-
of command for which this response is created
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SubmitResponsetrait CommandResponsetrait CommandSerializableclass Objecttrait Matchableclass AnyShow all
SubmitResponse is returned by Submit message which calls the onSubmit handler Responses returned can be Invalid, Started, Completed, Error, Cancelled, Locked
SubmitResponse is returned by Submit message which calls the onSubmit handler Responses returned can be Invalid, Started, Completed, Error, Cancelled, Locked
Attributes
- Supertypes
- Known subtypes
ValidationResponse is returned by validateCommand handler. Values can only be Invalid, Accepted
ValidationResponse is returned by validateCommand handler. Values can only be Invalid, Accepted
Attributes
- Supertypes
- Known subtypes
ValidateOnlyResponse is returned by Validate message, which calls validateCommand handler Values can be Invalid, Accepted, Locked. Since the component can be locked, it is ValidationResponse with Locked
ValidateOnlyResponse is returned by Validate message, which calls validateCommand handler Values can be Invalid, Accepted, Locked. Since the component can be locked, it is ValidationResponse with Locked
Attributes
- Supertypes
- Known subtypes
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Tests a response to determine if it is a final command state
Tests a response to determine if it is a final command state
Value parameters
- sr
-
response for testing
Attributes
- Returns
-
true if it is final
Tests a response to determine if it is an intermediate response
Tests a response to determine if it is an intermediate response
Value parameters
- sr
-
response for testing
Attributes
- Returns
-
returns true if it is intermediate
Tests a response to determine if it is a negative response
Tests a response to determine if it is a negative response
Value parameters
- sr
-
response for testing
Attributes
- Returns
-
true if it is negative
Test a response to determine if it is a positive response
Test a response to determine if it is a positive response
Value parameters
- sr
-
response for testing
Attributes
- Returns
-
true if it is positive
Test a OnewayResponse to determine if it is a positive response
Test a OnewayResponse to determine if it is a positive response
Value parameters
- or
-
a OnewayResponse for testing
Attributes
- Returns
-
true if positive, false otherwise