Class BasicCronExpressionSettingSpecifier
java.lang.Object
net.solarnetwork.settings.support.BaseSettingSpecifier
net.solarnetwork.settings.support.BaseKeyedSettingSpecifier<String>
net.solarnetwork.settings.support.BasicTitleSettingSpecifier
net.solarnetwork.settings.support.BasicTextFieldSettingSpecifier
net.solarnetwork.settings.support.BasicCronExpressionSettingSpecifier
- All Implemented Interfaces:
CronExpressionSettingSpecifier,KeyedSettingSpecifier<String>,MappableSpecifier,MarkupSetting,SettingSpecifier,TextFieldSettingSpecifier,TitleSettingSpecifier
public class BasicCronExpressionSettingSpecifier
extends BasicTextFieldSettingSpecifier
implements CronExpressionSettingSpecifier
Basic implementation of
CronExpressionSettingSpecifier.- Version:
- 1.1
- Author:
- matt
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.solarnetwork.settings.MappableSpecifier
MappableSpecifier.Mapper -
Constructor Summary
ConstructorsConstructorDescriptionBasicCronExpressionSettingSpecifier(String key, String defaultValue) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringGet a URL to link to for help on cron expression syntax.Return a setting specifier mapped to a new path, using aMappableSpecifier.Mapper.mappedWithPlaceholer(String template) Return a setting specifier mapped to a new path, using a format template.Methods inherited from class net.solarnetwork.settings.support.BasicTextFieldSettingSpecifier
isSecureTextEntryMethods inherited from class net.solarnetwork.settings.support.BasicTitleSettingSpecifier
getValueTitles, isMarkup, setMarkup, setValueTitlesMethods inherited from class net.solarnetwork.settings.support.BaseKeyedSettingSpecifier
getDefaultValue, getDescriptionArguments, getKey, isTransient, mappedTo, setDefaultValue, setDescriptionArguments, setKey, setTransient, toStringMethods inherited from class net.solarnetwork.settings.support.BaseSettingSpecifier
getTitle, getType, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.solarnetwork.settings.KeyedSettingSpecifier
getDefaultValue, getDescriptionArguments, getKey, isTransientMethods inherited from interface net.solarnetwork.settings.MappableSpecifier
mappedToMethods inherited from interface net.solarnetwork.settings.MarkupSetting
isMarkupMethods inherited from interface net.solarnetwork.settings.SettingSpecifier
getTitle, getTypeMethods inherited from interface net.solarnetwork.settings.TextFieldSettingSpecifier
isSecureTextEntryMethods inherited from interface net.solarnetwork.settings.TitleSettingSpecifier
getValueTitles
-
Constructor Details
-
BasicCronExpressionSettingSpecifier
Constructor.- Parameters:
key- the keydefaultValue- the default value
-
-
Method Details
-
getCronSyntaxHelpLink
Get a URL to link to for help on cron expression syntax.- Returns:
- A URL to link to.
-
mappedWithPlaceholer
Description copied from interface:MappableSpecifierReturn a setting specifier mapped to a new path, using a format template.- Specified by:
mappedWithPlaceholerin interfaceMappableSpecifier- Overrides:
mappedWithPlaceholerin classBasicTextFieldSettingSpecifier- Parameters:
template- the format template- Returns:
- the new instance
-
mappedWithMapper
Description copied from interface:MappableSpecifierReturn a setting specifier mapped to a new path, using aMappableSpecifier.Mapper.- Specified by:
mappedWithMapperin interfaceMappableSpecifier- Overrides:
mappedWithMapperin classBasicTextFieldSettingSpecifier- Parameters:
mapper- the mapper- Returns:
- the new instance
-