Class QProcessPayload
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.processes.QProcessPayload
- Direct Known Subclasses:
ProcessBasedRouterPayload
base-class for bean-like classes to represent the fields of a process.
similar in spirit to QRecordEntity, but for processes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends QProcessPayload>
TfromProcessState
(Class<T> c, ProcessState processState) Build an entity of this QRecord type from a QRecordstatic List
<QRecordEntityField> getFieldList
(Class<? extends QProcessPayload> c) protected void
populateFromProcessState
(ProcessState processState) void
toProcessState
(ProcessState processState) Copy the values from this payload into the given process state.
-
Constructor Details
-
QProcessPayload
public QProcessPayload()
-
-
Method Details
-
fromProcessState
public static <T extends QProcessPayload> T fromProcessState(Class<T> c, ProcessState processState) throws QException Build an entity of this QRecord type from a QRecord- Throws:
QException
-
populateFromProcessState
-
toProcessState
Copy the values from this payload into the given process state. ALL fields in the entity will be set in the process state.- Throws:
QRuntimeException
-
allowedFieldTypes
-
getFieldList
-