com.atlassian.jira.web.component.cron.generator
Class CronExpressionGenerator
java.lang.Object
com.atlassian.jira.web.component.cron.generator.CronExpressionGenerator
public class CronExpressionGenerator
- extends Object
Used to generate a cron string based on the state of a CronEditorBean
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CronExpressionGenerator
public CronExpressionGenerator()
getCronExpressionFromInput
public String getCronExpressionFromInput(CronEditorBean cronEditorBean)
- This is a utility method that will process the parameters that the view put into the form and create a
cron string from the inputs. This cron string must be validated, there is no guarantee that this output is
a valid cron string.
- Parameters:
cronEditorBean
- the state of the editor form to use for input.
- Returns:
- a cron string that represents the user inputs in cron format.
Copyright © 2002-2008 Atlassian. All Rights Reserved.