Package com.daml.ledger.javaapi.data
Class Command
- java.lang.Object
 - 
- com.daml.ledger.javaapi.data.Command
 
 
- 
- All Implemented Interfaces:
 HasCommands
- Direct Known Subclasses:
 CreateAndExerciseCommand,CreateCommand,ExerciseByKeyCommand,ExerciseCommand
public abstract class Command extends java.lang.Object implements HasCommands
 
- 
- 
Constructor Summary
Constructors Constructor Description Command() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<CreateCommand>asCreateCommand()java.util.Optional<ExerciseCommand>asExerciseCommand()java.util.List<Command>commands()static CommandfromProtoCommand(CommandsOuterClass.Command command)CommandsOuterClass.CommandtoProtoCommand() 
 - 
 
- 
- 
Method Detail
- 
commands
public final java.util.List<Command> commands()
- Specified by:
 commandsin interfaceHasCommands
 
- 
fromProtoCommand
public static Command fromProtoCommand(CommandsOuterClass.Command command)
 
- 
toProtoCommand
public CommandsOuterClass.Command toProtoCommand()
 
- 
asCreateCommand
public final java.util.Optional<CreateCommand> asCreateCommand()
 
- 
asExerciseCommand
public final java.util.Optional<ExerciseCommand> asExerciseCommand()
 
 - 
 
 -