public class CronScheduleEditorPanel
extends org.apache.wicket.markup.html.panel.Panel
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
commonSelection |
static int |
DAYS |
protected java.lang.String |
daysInput |
protected java.lang.String |
daysSelection |
protected java.lang.String |
descriptorText |
static int |
HOURS |
protected java.lang.String |
hoursInput |
protected java.lang.String |
hoursSelection |
static int |
MINUTES |
protected java.lang.String |
minutesInput |
protected java.lang.String |
minutesSelection |
static int |
MONTHS |
protected java.lang.String |
monthsInput |
protected java.lang.String |
monthsSelection |
static int |
WEEKDAYS |
protected java.lang.String |
weekdaysInput |
protected java.lang.String |
weekdaysSelection |
Constructor and Description |
---|
CronScheduleEditorPanel(java.lang.String id,
org.apache.wicket.model.IModel<java.lang.String> model)
Instantiates a new Cron Schedule Editor panel.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCronDescriptor(java.lang.String cronString)
Takes a cron String and converts it into a human-readable form.
|
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
public static final int MINUTES
public static final int HOURS
public static final int DAYS
public static final int MONTHS
public static final int WEEKDAYS
protected java.lang.String commonSelection
protected java.lang.String minutesSelection
protected java.lang.String hoursSelection
protected java.lang.String daysSelection
protected java.lang.String monthsSelection
protected java.lang.String weekdaysSelection
protected java.lang.String minutesInput
protected java.lang.String hoursInput
protected java.lang.String daysInput
protected java.lang.String monthsInput
protected java.lang.String weekdaysInput
protected java.lang.String descriptorText
public CronScheduleEditorPanel(java.lang.String id, org.apache.wicket.model.IModel<java.lang.String> model)
id
- the component idmodel
- the String model. The cron string is written to this model's object.public static java.lang.String getCronDescriptor(java.lang.String cronString) throws java.text.ParseException
cronString
- java.text.ParseException