Class CronExpressionDisplayValueBehavior
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.fields.CronExpressionDisplayValueBehavior
- All Implemented Interfaces:
FieldBehavior<CronExpressionDisplayValueBehavior>
,FieldDisplayBehavior<CronExpressionDisplayValueBehavior>
public class CronExpressionDisplayValueBehavior
extends Object
implements FieldDisplayBehavior<CronExpressionDisplayValueBehavior>
Field Display Behavior class for customizing the display values used
in cron expression fields
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.kingsrook.qqq.backend.core.model.metadata.fields.FieldDisplayBehavior
FieldDisplayBehavior.NoopFieldDisplayBehavior
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) Apply this behavior to a list of recordsIn case a behavior of this type wasn't set on the field, what should the default of this type be?validateBehaviorConfiguration
(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) allow this behavior to be validated during QInstance validation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.fields.FieldBehavior
allowMultipleBehaviorsOfThisType
-
Constructor Details
-
CronExpressionDisplayValueBehavior
public CronExpressionDisplayValueBehavior()
-
-
Method Details
-
getDefault
Description copied from interface:FieldBehavior
In case a behavior of this type wasn't set on the field, what should the default of this type be?- Specified by:
getDefault
in interfaceFieldBehavior<CronExpressionDisplayValueBehavior>
- Specified by:
getDefault
in interfaceFieldDisplayBehavior<CronExpressionDisplayValueBehavior>
-
apply
public void apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) Description copied from interface:FieldBehavior
Apply this behavior to a list of records- Specified by:
apply
in interfaceFieldBehavior<CronExpressionDisplayValueBehavior>
-
validateBehaviorConfiguration
public List<String> validateBehaviorConfiguration(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) Description copied from interface:FieldBehavior
allow this behavior to be validated during QInstance validation. return a list of validation errors, if there are any.- Specified by:
validateBehaviorConfiguration
in interfaceFieldBehavior<CronExpressionDisplayValueBehavior>
-