public class FieldDefinition extends Object
| Constructor and Description |
|---|
FieldDefinition(CronFieldName fieldName,
FieldConstraints constraints)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Comparator<FieldDefinition> |
createFieldDefinitionComparator()
Creates a field definition comparator.
|
FieldConstraints |
getConstraints()
Get field constraints
|
CronFieldName |
getFieldName()
Retrieve field name
|
public FieldDefinition(CronFieldName fieldName, FieldConstraints constraints)
fieldName - - CronFieldName; name of the field
if null, a NullPointerException will be raised.constraints - - FieldConstraints, constraints;
if null, a NullPointerException will be raised.public CronFieldName getFieldName()
public FieldConstraints getConstraints()
public static Comparator<FieldDefinition> createFieldDefinitionComparator()
Copyright © 2016. All rights reserved.