public class FieldSpecialCharsDefinitionBuilder extends FieldQuestionMarkDefinitionBuilder
constraints, cronDefinitionBuilder, fieldName, optional
Constructor and Description |
---|
FieldSpecialCharsDefinitionBuilder(CronDefinitionBuilder parserBuilder,
CronFieldName fieldName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FieldSpecialCharsDefinitionBuilder |
supportsHash()
Registers the field supports the hash (#) special char.
|
FieldSpecialCharsDefinitionBuilder |
supportsL()
Registers the field supports the L (L) special char.
|
FieldSpecialCharsDefinitionBuilder |
supportsLW()
Registers the field supports the LW (LW) special char.
|
FieldSpecialCharsDefinitionBuilder |
supportsW()
Registers the field supports the W (W) special char.
|
FieldSpecialCharsDefinitionBuilder |
withIntMapping(int source,
int dest)
Defines mapping between integer values with equivalent meaning.
|
FieldSpecialCharsDefinitionBuilder |
withValidRange(int startRange,
int endRange)
Allows to set a range of valid values for field.
|
supportsQuestionMark
and, optional, withStrictRange
public FieldSpecialCharsDefinitionBuilder(CronDefinitionBuilder parserBuilder, CronFieldName fieldName)
parserBuilder
- - ParserDefinitionBuilderfieldName
- - CronFieldNamepublic FieldSpecialCharsDefinitionBuilder supportsHash()
public FieldSpecialCharsDefinitionBuilder supportsL()
public FieldSpecialCharsDefinitionBuilder supportsW()
public FieldSpecialCharsDefinitionBuilder supportsLW()
public FieldSpecialCharsDefinitionBuilder withIntMapping(int source, int dest)
withIntMapping
in class FieldDefinitionBuilder
source
- - higher valuedest
- - lower value with equivalent meaning to sourcepublic FieldSpecialCharsDefinitionBuilder withValidRange(int startRange, int endRange)
withValidRange
in class FieldDefinitionBuilder
startRange
- - start range valueendRange
- - end range valueCopyright © 2020 JBoss by Red Hat. All rights reserved.