Package csw.params.commands
Class CommandResponse.Started
- java.lang.Object
-
- csw.params.commands.CommandResponse.Started
-
- All Implemented Interfaces:
CommandResponse
,CommandResponse.SubmitResponse
,CommandSerializable
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- CommandResponse
public static class CommandResponse.Started extends java.lang.Object implements CommandResponse.SubmitResponse, scala.Product, java.io.Serializable
Represents a preliminary response stating a long running command has been startedparam: 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.Started
withRunId(Id newRunId)
-
-
-
Constructor Detail
-
Started
public Started(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.Started withRunId(Id newRunId)
- Specified by:
withRunId
in interfaceCommandResponse.SubmitResponse
-
-