Class RunBackendStepInput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
com.kingsrook.qqq.backend.core.model.actions.processes.RunBackendStepInput
- Direct Known Subclasses:
BackendStepPostRunInput
,StreamedBackendStepInput
Input data container for the RunBackendStep action
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValue
(String fieldName, Serializable value) Setter for valuesvoid
cloneFieldsInto
(RunBackendStepInput target) Kinda like a reverse copy-constructor -- for a subclass that wants all the field values from this object.Getter for asyncJobCallbackGetter for basepullLastRunTimeGetter for callbackGetter for frontendStepBehaviorboolean
Accessor for processState's isStepBack attributeGetter for processName<T extends QProcessPayload>
TgetProcessPayload
(Class<T> payloadClass) return a QProcessPayload subclass instance, with values populated from the current process state.protected ProcessState
Accessor for processState - protected, because we generally want to access its members through wrapper methods, we thinkGetter for records<E extends QRecordEntity>
List<E> getRecordsAsEntities
(Class<E> entityClass) Getter for records converted to entities of a given type.Getter for functionNamegetTable()
Getter for tableNameGetter for a single field's valuegetValueBoolean
(String fieldName) Getter for a single field's valuegetValueInstant
(String fieldName) Getter for a single field's valuegetValueInteger
(String fieldName) Getter for a single field's valuegetValueLocalDate
(String fieldName) Getter for a single field's date valueboolean
getValuePrimitiveBoolean
(String fieldName) Getter for a single field's value as a primitive boolean - with null => false.Getter for valuesgetValueString
(String fieldName) Getter for a single field's valuevoid
setAsyncJobCallback
(AsyncJobCallback asyncJobCallback) Setter for asyncJobCallbackvoid
setBasepullLastRunTime
(Instant basepullLastRunTime) Setter for basepullLastRunTimevoid
setCallback
(QProcessCallback callback) Setter for callbackvoid
setFrontendStepBehavior
(RunProcessInput.FrontendStepBehavior frontendStepBehavior) Setter for frontendStepBehaviorvoid
setProcessName
(String processName) Setter for processNamevoid
setProcessTracer
(ProcessTracerInterface processTracer) Setter for processTracervoid
setRecords
(List<QRecord> records) Setter for recordsvoid
setStepName
(String stepName) Setter for functionNamevoid
setTableName
(String tableName) Setter for tableNamevoid
setValues
(Map<String, Serializable> values) Setter for valuesvoid
traceMessage
(ProcessTracerMessage message) withBasepullLastRunTime
(Instant basepullLastRunTime) Fluent setter for basepullLastRunTimewithCallback
(QProcessCallback callback) Setter for callbackwithFrontendStepBehavior
(RunProcessInput.FrontendStepBehavior frontendStepBehavior) Fluent setter for frontendStepBehaviorwithFunctionName
(String functionName) Setter for functionNamewithProcessName
(String processName) Setter for processNamewithProcessTracer
(ProcessTracerInterface processTracer) Fluent setter for processTracerwithRecords
(List<QRecord> records) Setter for recordswithTableName
(String tableName) Fluent setter for tableNamewithValues
(Map<String, Serializable> values) Setter for valuesMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
getActionIdentity, getInstance, getSession
-
Constructor Details
-
RunBackendStepInput
public RunBackendStepInput() -
RunBackendStepInput
-
-
Method Details
-
cloneFieldsInto
Kinda like a reverse copy-constructor -- for a subclass that wants all the field values from this object. Keep this in sync with the fields in this class! Of note - the processState does NOT get cloned - because... well, in our first use-case (a subclass that doesn't WANT the same/full state), that's what we needed. -
getStepMetaData
-
getProcessName
Getter for processName -
setProcessName
Setter for processName -
withProcessName
Setter for processName -
getTableName
Getter for tableName -
setTableName
Setter for tableName -
withTableName
Fluent setter for tableName -
getTable
-
getStepName
Getter for functionName -
setStepName
Setter for functionName -
withFunctionName
Setter for functionName -
getRecords
-
getRecordsAsEntities
public <E extends QRecordEntity> List<E> getRecordsAsEntities(Class<E> entityClass) throws QException Getter for records converted to entities of a given type.- Throws:
QException
-
setRecords
-
withRecords
Setter for records -
getValues
Getter for values -
setValues
Setter for values -
withValues
Setter for values -
addValue
Setter for values -
getCallback
Getter for callback -
setCallback
Setter for callback -
withCallback
Setter for callback -
getValue
Getter for a single field's value -
getValueLocalDate
-
getValueString
-
getValueBoolean
-
getValuePrimitiveBoolean
Getter for a single field's value as a primitive boolean - with null => false. -
getValueInteger
-
getValueInstant
-
getIsStepBack
public boolean getIsStepBack()Accessor for processState's isStepBack attribute -
getProcessState
Accessor for processState - protected, because we generally want to access its members through wrapper methods, we think -
setAsyncJobCallback
Description copied from class:AbstractActionInput
Setter for asyncJobCallback- Overrides:
setAsyncJobCallback
in classAbstractActionInput
-
getAsyncJobCallback
Description copied from class:AbstractActionInput
Getter for asyncJobCallback- Overrides:
getAsyncJobCallback
in classAbstractActionInput
-
getFrontendStepBehavior
Getter for frontendStepBehavior -
setFrontendStepBehavior
Setter for frontendStepBehavior -
withFrontendStepBehavior
public RunBackendStepInput withFrontendStepBehavior(RunProcessInput.FrontendStepBehavior frontendStepBehavior) Fluent setter for frontendStepBehavior -
getBasepullLastRunTime
Getter for basepullLastRunTime -
setBasepullLastRunTime
Setter for basepullLastRunTime -
withBasepullLastRunTime
Fluent setter for basepullLastRunTime -
setProcessTracer
Setter for processTracer -
withProcessTracer
Fluent setter for processTracer -
getProcessTracer
-
traceMessage
-
getProcess
-
getProcessPayload
return a QProcessPayload subclass instance, with values populated from the current process state.- Throws:
QException
-