Class OngoingActivity

java.lang.Object
org.yamcs.activities.OngoingActivity

public class OngoingActivity extends Object
  • Constructor Details

    • OngoingActivity

      public OngoingActivity(Activity activity)
  • Method Details

    • getActivity

      public Activity getActivity()
    • onResult

      public CompletableFuture<Void> onResult()
    • getStopRequester

      public User getStopRequester()
      If a stop has been requested, this returns the first user that asked to cancel.
    • cancel

      public void cancel(User user)
      Request a stop of this activity. This method does not block.
    • complete

      public void complete(User user)
    • completeExceptionally

      public void completeExceptionally(String failureReason, User user)