Package csw.params.commands
Class CommandResponse.CompletedWithResult
- java.lang.Object
-
- csw.params.commands.CommandResponse.CompletedWithResult
-
- All Implemented Interfaces:
CommandResponse
,CommandResponse.QueryResponse
,CommandResponse.SubmitResponse
,TMTSerializable
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing interface:
- CommandResponse
public static class CommandResponse.CompletedWithResult extends java.lang.Object implements CommandResponse.SubmitResponse, scala.Product, scala.Serializable
Represents a positive response stating completion of commandparam: runId of command for which this response is created param: result describing the result of completion
- 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 CompletedWithResult(Id runId, Result result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result
result()
Id
runId()
A helper method to get the runId for this command response
-
-
-
Method Detail
-
runId
public Id 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
-
result
public Result result()
-
-