public class CronParser extends Object
Constructor and Description |
---|
CronParser(CronDefinition cronDefinition) |
Modifier and Type | Method and Description |
---|---|
Cron |
parse(String expression)
Parse string with cron expression.
|
public CronParser(CronDefinition cronDefinition)
cronDefinition
- - cronDefinition of cron expressions to be parsed if null, a NullPointerException will be raised.public Cron parse(String expression)
expression
- - cron expression, never nullIllegalArgumentException
- if expression does not match cron definitionCopyright © 2020 JBoss by Red Hat. All rights reserved.