Package org.yamcs.actions
Class ActionHelper
java.lang.Object
org.yamcs.actions.ActionHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
runAction
(T target, Action<T> action, com.google.protobuf.Struct options, Observer<com.google.protobuf.Struct> responseObserver) Run an action on a target.static ActionInfo
toActionInfo
(Action<?> action) static ActionInfo
toActionInfo
(Action<?> action, boolean addSpec)
-
Constructor Details
-
ActionHelper
public ActionHelper()
-
-
Method Details
-
toActionInfo
-
toActionInfo
-
runAction
public static <T> void runAction(T target, Action<T> action, com.google.protobuf.Struct options, Observer<com.google.protobuf.Struct> responseObserver) throws HttpException Run an action on a target.- Throws:
HttpException
-