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

java.lang.Object
  extended by com.atlassian.jira.web.component.cron.generator.CronExpressionDescriptor

public class CronExpressionDescriptor
extends Object

Describes Cron Expressions in human readable text.


Constructor Summary
CronExpressionDescriptor(I18nHelper i18n)
          Creates a Descriptor for
 
Method Summary
 String getPrettySchedule(CronEditorBean bean)
          Renders a nice locale-specific and human readable description of the given cronEditorBean's schedule or, if this can't be understood, the underlying cron expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CronExpressionDescriptor

public CronExpressionDescriptor(I18nHelper i18n)
Creates a Descriptor for

Parameters:
i18n - the I18nBean.
Method Detail

getPrettySchedule

public String getPrettySchedule(CronEditorBean bean)
Renders a nice locale-specific and human readable description of the given cronEditorBean's schedule or, if this can't be understood, the underlying cron expression.

Parameters:
bean - the cronEditorBean.
Returns:
the description.


Copyright © 2002-2012 Atlassian. All Rights Reserved.