java.lang.Object
org.yamcs.actions.ActionHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidrunAction(T target, Action<T> action, com.google.protobuf.Struct options, org.yamcs.api.Observer<com.google.protobuf.Struct> responseObserver) Run an action on a target.static org.yamcs.protobuf.actions.ActionInfotoActionInfo(Action<?> action) static org.yamcs.protobuf.actions.ActionInfotoActionInfo(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, org.yamcs.api.Observer<com.google.protobuf.Struct> responseObserver) throws HttpException Run an action on a target.- Throws:
HttpException
-