public class

CronExpressionDescriptor

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.component.cron.generator.CronExpressionDescriptor

Class Overview

Describes Cron Expressions in human readable text.

Summary

Public Constructors
CronExpressionDescriptor(I18nHelper i18n)
Creates a Descriptor for
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CronExpressionDescriptor (I18nHelper i18n)

Creates a Descriptor for

Parameters
i18n the I18nBean.

Public Methods

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.