Package org.yamcs.activities
Class ScriptExecution
java.lang.Object
org.yamcs.activities.ActivityExecution
org.yamcs.activities.ScriptExecution
-
Field Summary
Fields inherited from class org.yamcs.activities.ActivityExecution
activity, activityService, executor, log, yamcsInstance
-
Constructor Summary
ConstructorDescriptionScriptExecution
(ActivityService activityService, ScriptExecutor executor, Activity activity, String processor, String program, List<String> scriptArgs, User user) -
Method Summary
Methods inherited from class org.yamcs.activities.ActivityExecution
call, getStart, getStop, logActivityError, logActivityInfo, logActivityWarning, logServiceError, logServiceInfo, logServiceWarning
-
Constructor Details
-
ScriptExecution
public ScriptExecution(ActivityService activityService, ScriptExecutor executor, Activity activity, String processor, String program, List<String> scriptArgs, User user)
-
-
Method Details
-
run
- Specified by:
run
in classActivityExecution
- Throws:
Exception
-
stop
Description copied from class:ActivityExecution
Called when an activity stop is requested.Implementations are expected to finish in a timely manner.
- Specified by:
stop
in classActivityExecution
- Throws:
Exception
-