Class CronUIWidgetData
java.lang.Object
com.kingsrook.qqq.backend.core.model.dashboard.widgets.QWidgetData
com.kingsrook.qqq.backend.core.model.dashboard.widgets.CronUIWidgetData
- All Implemented Interfaces:
Serializable
Model containing data required for a cron UI widget
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for cronDescriptiongetError()
Getter for errorgetType()
Getter for typevoid
setCronDescription
(String cronDescription) Setter for cronDescriptionvoid
Setter for errorwithCronDescription
(String cronDescription) Fluent setter for cronDescriptionFluent setter for errorMethods inherited from class com.kingsrook.qqq.backend.core.model.dashboard.widgets.QWidgetData
getCsvData, getDropdownDataList, getDropdownDefaultValueList, getDropdownLabelList, getDropdownNameList, getDropdownNeedsSelectedText, getFooterHTML, getHasPermission, getLabel, getSublabel, setCsvData, setDropdownDataList, setDropdownDefaultValueList, setDropdownLabelList, setDropdownNameList, setDropdownNeedsSelectedText, setFooterHTML, setHasPermission, setLabel, setSublabel, withCsvData, withDropdownDataList, withDropdownDefaultValueList, withDropdownLabelList, withDropdownNameList, withDropdownNeedsSelectedText, withFooterHTML, withHasPermission, withLabel, withSublabel
-
Constructor Details
-
CronUIWidgetData
public CronUIWidgetData()Constructor
-
-
Method Details
-
getType
-
getCronDescription
-
setCronDescription
-
withCronDescription
Fluent setter for cronDescription- Parameters:
cronDescription
- Human-readable string describing the cron expression- Returns:
- this
-
getError
-
setError
-
withError
Fluent setter for error- Parameters:
error
- Error message, if the cron string isn't valid.- Returns:
- this
-