Package com.daml.ledger.javaapi.data
Class Command
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Command
-
- Direct Known Subclasses:
CreateAndExerciseCommand
,CreateCommand
,ExerciseByKeyCommand
,ExerciseCommand
public abstract class Command extends java.lang.Object
-
-
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()
static Command
fromProtoCommand(CommandsOuterClass.Command command)
CommandsOuterClass.Command
toProtoCommand()
-
-
-
Method Detail
-
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()
-
-