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

Describes Cron Expressions in human readable text.


Constructor Summary
CronExpressionDescriptor(I18nHelper i18n)
          Creates a Descriptor for
 
Method Summary
 java.lang.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 java.lang.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-2010 Atlassian. All Rights Reserved.