Package csw.params.commands
Class CommandResponse.Invalid
java.lang.Object
csw.params.commands.CommandResponse.Invalid
- All Implemented Interfaces:
CommandResponse
,CommandResponse.MatchingResponse
,CommandResponse.OnewayResponse
,CommandResponse.SubmitResponse
,CommandResponse.ValidateCommandResponse
,CommandResponse.ValidateResponse
,CommandSerializable
,Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- CommandResponse
public static class CommandResponse.Invalid
extends Object
implements CommandResponse.ValidateCommandResponse, CommandResponse.ValidateResponse, CommandResponse.OnewayResponse, CommandResponse.SubmitResponse, CommandResponse.MatchingResponse, scala.Product, Serializable
Represents a final negative response invalidating a command received has failed validation
param: runId of command for which this response is created param: issue describing the cause of invalidation
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface csw.params.commands.CommandResponse
CommandResponse.Accepted, CommandResponse.Accepted$, CommandResponse.Cancelled, CommandResponse.Cancelled$, CommandResponse.Completed, CommandResponse.Completed$, CommandResponse.Error, CommandResponse.Error$, CommandResponse.Invalid, CommandResponse.Invalid$, CommandResponse.Locked, CommandResponse.Locked$, CommandResponse.MatchingResponse, CommandResponse.OnewayResponse, CommandResponse.Started, CommandResponse.Started$, CommandResponse.SubmitResponse, CommandResponse.ValidateCommandResponse, CommandResponse.ValidateResponse
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface csw.params.commands.CommandResponse.SubmitResponse
typeName
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
Invalid
-
-
Method Details
-
runId
Description copied from interface:CommandResponse
A helper method to get the runId for this command response- Specified by:
runId
in interfaceCommandResponse
- Returns:
- the runId of command for which this response is created
-
issue
-
withRunId
- Specified by:
withRunId
in interfaceCommandResponse.SubmitResponse
-