com.atlassian.jira.web.component.cron.generator
Class CronExpressionGenerator

java.lang.Object
  extended by 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.


Constructor Summary
CronExpressionGenerator()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CronExpressionGenerator

public CronExpressionGenerator()
Method Detail

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-2013 Atlassian. All Rights Reserved.