Package csw.params.commands
Class CommandResponse.Cancelled
- java.lang.Object
-
- csw.params.commands.CommandResponse.Cancelled
-
- All Implemented Interfaces:
CommandResponse
,CommandResponse.SubmitResponse
,CommandSerializable
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- CommandResponse
public static class CommandResponse.Cancelled extends java.lang.Object implements CommandResponse.SubmitResponse, scala.Product, java.io.Serializable
Represents a negative response that describes the cancellation of commandparam: runId of command for which this response is created
- 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.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Id
runId()
A helper method to get the runId for this command responseCommandResponse.Cancelled
withRunId(Id newRunId)
-
-
-
Constructor Detail
-
Cancelled
public Cancelled(Id runId)
-
-
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
-
withRunId
public CommandResponse.Cancelled withRunId(Id newRunId)
- Specified by:
withRunId
in interfaceCommandResponse.SubmitResponse
-
-