com.atlassian.jira.web.component.cron.generator
Class CronExpressionDescriptor
java.lang.Object
com.atlassian.jira.web.component.cron.generator.CronExpressionDescriptor
public class CronExpressionDescriptor
- extends Object
Describes Cron Expressions in human readable text.
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 |
CronExpressionDescriptor
public CronExpressionDescriptor(I18nHelper i18n)
- Creates a Descriptor for
- Parameters:
i18n
- the I18nBean.
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.