Class QProcessMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.processes.QProcessMetaData
- All Implemented Interfaces:
QAppChildMetaData
,MetaDataProducerOutput
,MetaDataWithName
,MetaDataWithPermissionRules
,SourceQBitAware
,QMetaDataObject
,TopLevelMetaDataInterface
,Serializable
public class QProcessMetaData
extends Object
implements QAppChildMetaData, MetaDataWithPermissionRules, TopLevelMetaDataInterface, SourceQBitAware
Meta-Data to define a process in a QQQ instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOptionalStep
(QStepMetaData step) Deprecated.void
addSelfToInstance
(QInstance qInstance) call the appropriate methods on a QInstance to add ourselves to it.addStep
(int index, QStepMetaData step) Deprecated.addStep
(QStepMetaData step) Deprecated.Getter for the full map of all steps (not the step list!)getBackendStep
(String name) Wrapper to getStep, that internally casts to BackendStepMetaDataGetter for basepullConfigurationGetter for cancelStepgetFrontendStep
(String name) Wrapper to getStep, that internally casts to FrontendStepMetaDatagetIcon()
Getter for iconGet a list of all the *unique* input fields used by all the steps in this process.boolean
Getter for isHiddengetLabel()
Getter for labelGetter for maxInputRecordsGetter for minInputRecordsgetName()
Getter for nameGet a list of all the *unique* output fields used by all the steps in this process.Getter for permissionRulesGetter for processTracerCodeReferenceGetter for scheduleGetter for sourceQBitNameGetter for stepFlowGetter for stepListGetter for supplementalMetaDataGetter for supplementalMetaDataGetter for tableNameGetter for variantBackendGetter for variantRunStrategyvoid
setBasepullConfiguration
(BasepullConfiguration basepullConfiguration) Setter for basepullConfigurationvoid
setCancelStep
(QBackendStepMetaData cancelStep) Setter for cancelStepvoid
Setter for iconvoid
setIsHidden
(boolean isHidden) Setter for isHiddenvoid
Setter for labelvoid
setMaxInputRecords
(Integer maxInputRecords) Setter for maxInputRecordsvoid
setMinInputRecords
(Integer minInputRecords) Setter for minInputRecordsvoid
Setter for namevoid
setPermissionRules
(QPermissionRules permissionRules) Setter for permissionRulesvoid
setProcessTracerCodeReference
(QCodeReference processTracerCodeReference) Setter for processTracerCodeReferencevoid
setSchedule
(QScheduleMetaData schedule) Setter for schedulevoid
setSourceQBitName
(String sourceQBitName) Setter for sourceQBitNamevoid
setStepFlow
(ProcessStepFlow stepFlow) Setter for stepFlowvoid
setStepList
(List<QStepMetaData> stepList) Setter for stepList - note - calling this method ALSO overwrites the steps map!void
setSupplementalMetaData
(Map<String, QSupplementalProcessMetaData> supplementalMetaData) Setter for supplementalMetaDatavoid
setTableName
(String tableName) Setter for tableNamevoid
setVariantBackend
(String variantBackend) Setter for variantBackendvoid
setVariantRunStrategy
(VariantRunStrategy variantRunStrategy) Setter for variantRunStrategytoString()
withBasepullConfiguration
(BasepullConfiguration basepullConfiguration) Fluent setter for basepullConfigurationwithCancelStep
(QBackendStepMetaData cancelStep) Fluent setter for cancelStepFluent setter for iconwithIsHidden
(boolean isHidden) Fluent Setter for isHiddenSetter for labelwithMaxInputRecords
(Integer maxInputRecords) Fluent setter for maxInputRecordswithMinInputRecords
(Integer minInputRecords) Fluent setter for minInputRecordsSetter for nameadd a step ONLY to the step map - NOT the list w/ default execution order.withPermissionRules
(QPermissionRules permissionRules) Fluent setter for permissionRuleswithProcessTracerCodeReference
(QCodeReference processTracerCodeReference) Fluent setter for processTracerCodeReferencewithSchedule
(QScheduleMetaData schedule) Fluent setter for schedulewithSourceQBitName
(String sourceQBitName) Fluent setter for sourceQBitNamewithStep
(int index, QStepMetaData step) add a step to the stepList (at the specified index) and the step mapwithStep
(QStepMetaData step) withStepFlow
(ProcessStepFlow stepFlow) Fluent setter for stepFlowwithStepList
(List<QStepMetaData> stepList) Setter for stepListwithSupplementalMetaData
(QSupplementalProcessMetaData supplementalMetaData) Fluent setter for supplementalMetaDatawithSupplementalMetaData
(Map<String, QSupplementalProcessMetaData> supplementalMetaData) Fluent setter for supplementalMetaDatawithTableName
(String tableName) Setter for tableNamewithVariantBackend
(String variantBackend) Fluent setter for variantBackendwithVariantRunStrategy
(VariantRunStrategy variantRunStrategy) Fluent setter for variantRunStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.qbits.SourceQBitAware
getSourceQBit, getSourceQBitConfig
-
Constructor Details
-
QProcessMetaData
public QProcessMetaData()
-
-
Method Details
-
toString
-
getName
Getter for name- Specified by:
getName
in interfaceMetaDataWithName
- Specified by:
getName
in interfaceQAppChildMetaData
- Specified by:
getName
in interfaceTopLevelMetaDataInterface
-
setName
Setter for name- Specified by:
setName
in interfaceMetaDataWithName
-
withName
Setter for name -
getLabel
Getter for label- Specified by:
getLabel
in interfaceMetaDataWithName
- Specified by:
getLabel
in interfaceQAppChildMetaData
-
setLabel
Setter for label- Specified by:
setLabel
in interfaceMetaDataWithName
-
withLabel
Setter for label -
getTableName
Getter for tableName -
setTableName
Setter for tableName -
withTableName
Setter for tableName -
getStepList
Getter for stepList -
withStepList
Setter for stepList -
withStep
-
addStep
Deprecated.add a step to the stepList and map -
withStep
add a step to the stepList (at the specified index) and the step map -
addStep
@Deprecated(since="withStep was added") public QProcessMetaData addStep(int index, QStepMetaData step) Deprecated.add a step to the stepList (at the specified index) and the step map -
withOptionalStep
add a step ONLY to the step map - NOT the list w/ default execution order. -
addOptionalStep
@Deprecated(since="withOptionalStep was added") public QProcessMetaData addOptionalStep(QStepMetaData step) Deprecated.add a step ONLY to the step map - NOT the list w/ default execution order. -
setStepList
Setter for stepList - note - calling this method ALSO overwrites the steps map! -
getStep
-
getBackendStep
Wrapper to getStep, that internally casts to BackendStepMetaData -
getFrontendStep
Wrapper to getStep, that internally casts to FrontendStepMetaData -
getInputFields
Get a list of all the *unique* input fields used by all the steps in this process. -
getOutputFields
Get a list of all the *unique* output fields used by all the steps in this process. -
getIsHidden
public boolean getIsHidden()Getter for isHidden -
setIsHidden
public void setIsHidden(boolean isHidden) Setter for isHidden -
withIsHidden
Fluent Setter for isHidden -
getIcon
-
setIcon
Setter for icon -
withIcon
Fluent setter for icon -
getSchedule
Getter for schedule -
setSchedule
Setter for schedule -
withSchedule
Fluent setter for schedule -
getBasepullConfiguration
Getter for basepullConfiguration -
setBasepullConfiguration
Setter for basepullConfiguration -
withBasepullConfiguration
Fluent setter for basepullConfiguration -
getPermissionRules
Getter for permissionRules- Specified by:
getPermissionRules
in interfaceMetaDataWithPermissionRules
-
setPermissionRules
Setter for permissionRules- Specified by:
setPermissionRules
in interfaceMetaDataWithPermissionRules
-
withPermissionRules
Fluent setter for permissionRules -
addSelfToInstance
Description copied from interface:MetaDataProducerOutput
call the appropriate methods on a QInstance to add ourselves to it.- Specified by:
addSelfToInstance
in interfaceMetaDataProducerOutput
- Specified by:
addSelfToInstance
in interfaceTopLevelMetaDataInterface
-
getSupplementalMetaData
Getter for supplementalMetaData -
getSupplementalMetaData
Getter for supplementalMetaData -
setSupplementalMetaData
Setter for supplementalMetaData -
withSupplementalMetaData
public QProcessMetaData withSupplementalMetaData(Map<String, QSupplementalProcessMetaData> supplementalMetaData) Fluent setter for supplementalMetaData -
withSupplementalMetaData
Fluent setter for supplementalMetaData -
getMinInputRecords
Getter for minInputRecords -
setMinInputRecords
Setter for minInputRecords -
withMinInputRecords
Fluent setter for minInputRecords -
getMaxInputRecords
Getter for maxInputRecords -
setMaxInputRecords
Setter for maxInputRecords -
withMaxInputRecords
Fluent setter for maxInputRecords -
getVariantRunStrategy
Getter for variantRunStrategy -
setVariantRunStrategy
Setter for variantRunStrategy -
withVariantRunStrategy
Fluent setter for variantRunStrategy -
getVariantBackend
Getter for variantBackend -
setVariantBackend
Setter for variantBackend -
withVariantBackend
Fluent setter for variantBackend -
getAllSteps
Getter for the full map of all steps (not the step list!) -
getCancelStep
Getter for cancelStep -
setCancelStep
Setter for cancelStep -
withCancelStep
Fluent setter for cancelStep -
getStepFlow
Getter for stepFlow -
setStepFlow
Setter for stepFlow -
withStepFlow
Fluent setter for stepFlow -
getProcessTracerCodeReference
Getter for processTracerCodeReference -
setProcessTracerCodeReference
Setter for processTracerCodeReference -
withProcessTracerCodeReference
Fluent setter for processTracerCodeReference -
getSourceQBitName
Getter for sourceQBitName- Specified by:
getSourceQBitName
in interfaceSourceQBitAware
-
setSourceQBitName
Setter for sourceQBitName- Specified by:
setSourceQBitName
in interfaceSourceQBitAware
-
withSourceQBitName
Fluent setter for sourceQBitName- Specified by:
withSourceQBitName
in interfaceSourceQBitAware
-