Package csw.params.commands
Interface CommandResponse
- All Superinterfaces:
CommandSerializable
- All Known Subinterfaces:
CommandResponse.MatchingResponse
,CommandResponse.OnewayResponse
,CommandResponse.SubmitResponse
,CommandResponse.ValidateCommandResponse
,CommandResponse.ValidateResponse
- All Known Implementing Classes:
CommandResponse.Accepted
,CommandResponse.Cancelled
,CommandResponse.Completed
,CommandResponse.Error
,CommandResponse.Invalid
,CommandResponse.Locked
,CommandResponse.Started
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Represents a final response stating acceptance of a command received meaning passed validationstatic class
static class
Represents a negative response that describes the cancellation of commandstatic class
static class
Represents a final positive response stating completion of command with no errors A result may be included or may be emptystatic class
static class
Represents a negative response that describes an error in executing the commandstatic class
static class
Represents a final negative response invalidating a command received has failed validationstatic class
static class
Represents a negative response stating that a component is Locked and command was not validated or executedstatic class
static interface
MatchingResponse is returned by matchers.static interface
OnewayResponse is returned by Oneway message which calls the onOneway handler Responses returned can be Accepted, Invalid, Lockedstatic class
Represents a preliminary response stating a long running command has been startedstatic class
static interface
SubmitResponse is returned by Submit message which calls the onSubmit handler Responses returned can be Invalid, Started, Completed, Error, Cancelled, Lockedstatic interface
ValidationResponse is returned by validateCommand handler.static interface
ValidateOnlyResponse is returned by Validate message, which calls validateCommand handler Values can be Invalid, Accepted, Locked. -
Method Summary
-
Method Details
-
runId
Id runId()A helper method to get the runId for this command response- Returns:
- the runId of command for which this response is created
-