java.lang.Object
org.yamcs.actions.ActionResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()Complete successfully, without response message.voidcomplete(com.google.gson.JsonObject result) Complete successfullyvoidComplete with an exceptionCompletableFuture<com.google.gson.JsonObject>future()Return the underlying future.
-
Constructor Details
-
ActionResult
public ActionResult()
-
-
Method Details
-
complete
public void complete()Complete successfully, without response message.Shortcut for
complete(null) -
complete
public void complete(com.google.gson.JsonObject result) Complete successfully- Parameters:
result- the result value (may be null)
-
completeExceptionally
Complete with an exception -
future
Return the underlying future.
-