public class CronParserField extends Object
Constructor and Description |
---|
CronParserField(CronFieldName fieldName,
FieldConstraints constraints)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static Comparator<CronParserField> |
createFieldTypeComparator()
Create a Comparator that compares CronField instances using CronFieldName value.
|
CronFieldName |
getField()
Returns field name
|
CronField |
parse(String expression)
Parses a String cron expression
|
public CronParserField(CronFieldName fieldName, FieldConstraints constraints)
fieldName
- - CronFieldName instancepublic CronFieldName getField()
public CronField parse(String expression)
expression
- - cron expressionpublic static Comparator<CronParserField> createFieldTypeComparator()
Copyright © 2016. All rights reserved.