Package com.daml.ledger.javaapi.data
Class ReassignmentCommands
java.lang.Object
com.daml.ledger.javaapi.data.ReassignmentCommands
This class can be used to build a valid submission. It provides
create(String, String, String, UnassignCommand)
for initial creation and methods to set optional parameters
e.g withWorkflowId(String)
, withSubmissionId(String)
etc.
Usage:
var submission = ReassignmentCommands.create(userId, commandId, synchronizerId, unassingnCommand) .withWorkflowId(workflowId) .with...
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReassignmentCommands
(@NonNull Optional<String> workflowId, @NonNull String userId, @NonNull String commandId, @NonNull String submitter, @NonNull List<ReassignmentCommand> commands, @NonNull Optional<String> submissionId) -
Method Summary
Modifier and TypeMethodDescriptionstatic ReassignmentCommands
create
(@NonNull String userId, @NonNull String commandId, @NonNull String submitter, @NonNull AssignCommand assignCommand) static ReassignmentCommands
create
(@NonNull String userId, @NonNull String commandId, @NonNull String submitter, @NonNull UnassignCommand unassignCommand) boolean
static ReassignmentCommands
@NonNull String
@NonNull List<ReassignmentCommand>
@NonNull String
@NonNull String
int
hashCode()
toProto()
toString()
withSubmissionId
(@NonNull String submissionId) withWorkflowId
(@NonNull String workflowId)
-
Constructor Details
-
ReassignmentCommands
-
-
Method Details
-
create
public static ReassignmentCommands create(@NonNull String userId, @NonNull String commandId, @NonNull String submitter, @NonNull UnassignCommand unassignCommand) -
create
public static ReassignmentCommands create(@NonNull String userId, @NonNull String commandId, @NonNull String submitter, @NonNull AssignCommand assignCommand) -
withWorkflowId
-
withSubmissionId
-
getWorkflowId
-
getUserId
-
getCommandId
-
getSubmitter
-
getCommands
-
getSubmissionId
-
toProto
-
fromProto
public static ReassignmentCommands fromProto(ReassignmentCommandOuterClass.ReassignmentCommands commands) -
toString
-
equals
-
hashCode
public int hashCode()
-