Package csw.params.commands
Class CommandResponse.Invalid
- java.lang.Object
-
- csw.params.commands.CommandResponse.Invalid
-
- All Implemented Interfaces:
CommandResponse,CommandResponse.MatchingResponse,CommandResponse.OnewayResponse,CommandResponse.QueryResponse,CommandResponse.SubmitResponse,CommandResponse.ValidateCommandResponse,CommandResponse.ValidateResponse,CommandSerializable,java.io.Serializable,scala.Equals,scala.Product
- Enclosing interface:
- CommandResponse
public static class CommandResponse.Invalid extends java.lang.Object implements CommandResponse.ValidateCommandResponse, CommandResponse.ValidateResponse, CommandResponse.OnewayResponse, CommandResponse.SubmitResponse, CommandResponse.MatchingResponse, scala.Product, java.io.Serializable
Represents a negative response invalidating a command receivedparam: runId of command for which this response is created param: issue describing the cause of invalidation
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface csw.params.commands.CommandResponse
CommandResponse.Accepted, CommandResponse.Accepted$, CommandResponse.Cancelled, CommandResponse.Cancelled$, CommandResponse.CommandNotAvailable, CommandResponse.CommandNotAvailable$, CommandResponse.Completed, CommandResponse.Completed$, CommandResponse.CompletedWithResult, CommandResponse.CompletedWithResult$, CommandResponse.Error, CommandResponse.Error$, CommandResponse.Invalid, CommandResponse.Invalid$, CommandResponse.Locked, CommandResponse.Locked$, CommandResponse.MatchingResponse, CommandResponse.OnewayResponse, CommandResponse.QueryResponse, CommandResponse.Started, CommandResponse.Started$, CommandResponse.SubmitResponse, CommandResponse.ValidateCommandResponse, CommandResponse.ValidateResponse
-
-
Constructor Summary
Constructors Constructor Description Invalid(Id runId, CommandIssue issue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandIssueissue()IdrunId()A helper method to get the runId for this command response
-
-
-
Constructor Detail
-
Invalid
public Invalid(Id runId, CommandIssue issue)
-
-
Method Detail
-
runId
public Id runId()
Description copied from interface:CommandResponseA helper method to get the runId for this command response- Specified by:
runIdin interfaceCommandResponse- Returns:
- the runId of command for which this response is created
-
issue
public CommandIssue issue()
-
-