Class TypeConverters.CronExpressionConverter
- java.lang.Object
-
- org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CronExpressionConverter
-
- All Implemented Interfaces:
TypeConverter<CronExpression>
- Enclosing class:
- TypeConverters
@Plugin(name="CronExpression", category="TypeConverter") public static class TypeConverters.CronExpressionConverter extends Object implements TypeConverter<CronExpression>
-
-
Constructor Summary
Constructors Constructor Description CronExpressionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CronExpression
convert(String s)
Converts a String to a given type.
-
-
-
Method Detail
-
convert
public CronExpression convert(String s) throws Exception
Description copied from interface:TypeConverter
Converts a String to a given type.- Specified by:
convert
in interfaceTypeConverter<CronExpression>
- Parameters:
s
- the String to convert. Cannot benull
.- Returns:
- the converted object.
- Throws:
Exception
- thrown when a conversion error occurs
-
-