Class ProcessExecutorUtils
java.lang.Object
com.kingsrook.qqq.middleware.javalin.executors.utils.ProcessExecutorUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrecordsForCaller(String processName, ProcessState state, List<QRecord> records) Prefer the current record-list component table when it identifies one.recordsForCaller(String processName, List<QRecord> records) Copy records before applying current session policy to persisted process results.static voidserializeRunProcessExceptionForCaller(ProcessInitOrStepOrStatusOutputInterface processInitOrStepOutput, Exception exception) static voidserializeRunProcessResultForCaller(ProcessInitOrStepOrStatusOutputInterface processInitOrStepOutput, String processName, RunProcessOutput runProcessOutput) Whether a step finished synchronously or asynchronously, return its data to the caller the same way.static Map<String, Serializable> valuesForCaller(String processName, Map<String, Serializable> processValues) Share process value masking between legacy and versioned HTTP routes.
-
Constructor Details
-
ProcessExecutorUtils
public ProcessExecutorUtils()
-
-
Method Details
-
serializeRunProcessResultForCaller
public static void serializeRunProcessResultForCaller(ProcessInitOrStepOrStatusOutputInterface processInitOrStepOutput, String processName, RunProcessOutput runProcessOutput) Whether a step finished synchronously or asynchronously, return its data to the caller the same way. One-time secrets are deliberately excluded here; only the synchronous init/step executor attaches them to its response. -
serializeRunProcessExceptionForCaller
public static void serializeRunProcessExceptionForCaller(ProcessInitOrStepOrStatusOutputInterface processInitOrStepOutput, Exception exception) -
recordsForCaller
-
recordsForCaller
-
valuesForCaller
public static Map<String,Serializable> valuesForCaller(String processName, Map<String, Serializable> processValues) Share process value masking between legacy and versioned HTTP routes.
-